CSS named colour

Floral White

#fffaf0

A CSS named colour: floralwhite is valid anywhere a colour is expected.

RGB
rgb(255 250 240)
HSL
40°, 100%, 97%
OKLCh
98.6% 0.014 84.6

Open in the picker

Floral White in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#fffaf0
RGBrgb(255 250 240)
RGB legacyrgb(255, 250, 240)
RGB percentrgb(100% 98.04% 94.12%)
HSLhsl(40 100% 97.1%)
HSL legacyhsl(40, 100%, 97.1%)
HSV / HSBhsv(40, 5.9%, 100%)
HWBhwb(40 94.1% 0%)
Nearest namefloralwhite
CMYKcmyk(0%, 2%, 5.9%, 0%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(98.623% 0.01422 84.583)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(98.623% 0.00134 0.01416)
CIE LChlch(98.458% 5.45 85.16)
CIE Lablab(98.458% 0.46 5.431)
Display P3color(display-p3 0.9966 0.9811 0.9451)
Rec. 2020color(rec2020 0.99 0.979 0.939)
srgb-linearcolor(srgb-linear 1 0.956 0.8714)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.9115 0.9592 0.9615)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(1.0, 0.98, 0.941)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(1.0, 0.956, 0.871)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(1.0, 0.98, 0.941, 1.0)
GLSL vec4 — linearvec4(1.0, 0.956, 0.871, 1.0)
GLSL ivec3ivec3(255, 250, 240)
HLSL float3 — sRGBfloat3(1.0, 0.98, 0.941)
HLSL float3 — linearfloat3(1.0, 0.956, 0.871)
HLSL float4 — sRGBfloat4(1.0, 0.98, 0.941, 1.0)
HLSL half4 — sRGBhalf4(1.0, 0.98, 0.941, 1.0)
WGSL vec3f — sRGBvec3f(1.0, 0.98, 0.941)
WGSL vec4f — sRGBvec4f(1.0, 0.98, 0.941, 1.0)
WGSL vec3<f32> — linearvec3<f32>(1.0, 0.956, 0.871)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(1.0f, 0.98f, 0.941f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(255, 250, 240, 255)
Unreal FLinearColorFLinearColor(1.0f, 0.956f, 0.8714f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(255, 250, 240, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(1, 0.98, 0.941, 1)
Flutter ColorColor(0xFFFFFAF0)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(255, 250, 240)
SwiftUI ColorColor(red: 1, green: 0.98, blue: 0.941)
UIKit UIColorUIColor(red: 1, green: 0.98, blue: 0.941, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xFFFAF0
0x hex (ARGB)0xFFFFFAF0
Array 0–1[1, 0.98, 0.941]
Array 0–255[255, 250, 240]
Decimal integer16775920

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Floral White on white1.04:1FailLc 0Not usable for text
Floral White on black20.18:1AAALc 105Body text at any size

Floral White text on a white background

Floral White text on a black background

White text on Floral White

Black text on Floral White

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#fbf7f0
  • 100#f1ede5
  • 200#e0dcd4
  • 300#c9c5bd
  • 400#ada9a0
  • 500#8f8b82
  • 600#757169
  • 700#5e5a53
  • 800#4b4740
  • 900#3b3831
  • 950#211f1a

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#fffbf3
  • Tint 2#fffcf5
  • Tint 3#fffdf8
  • Tint 4#fffdfa
  • Tint 5#fffefd
  • Shade 1#c8c4bc
  • Shade 2#94918b
  • Shade 3#63615d
  • Shade 4#363532
  • Shade 5#0f0e0d

Colours that work with Floral White

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #f6fbff
  • #f0feff
  • #fff7ff
  • #fff8f2
  • #fafcf1

Closest CSS names

  • floralwhiteexact match
  • seashellΔEok 0.012
  • ivoryΔEok 0.013
  • snowΔEok 0.013
  • oldlaceΔEok 0.016
  • mintcreamΔEok 0.018