#F2DF5F#F2DF5F
#F2DF5F is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.5% C 0.148 H 100.9°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF5F |
|---|---|
| RGB | rgb(242, 223, 95) |
| HSL | hsl(52, 85%, 66%) |
| HSV | hsv(52, 61%, 95%) |
| CMYK | cmyk(0%, 7.9%, 60.7%, 5.1%) |
| CIE-LAB | lab(88.20, -8.45, 63.40) |
| CIE-LCH | lch(88.20, 63.96, 97.60°) |
| OKLab | oklab(89.54% -0.028 0.1452) |
| OKLCH | oklch(89.54% 0.148 100.9) |
| XYZ | xyz(65.0737, 72.4815, 21.3868) |
| Luminance | 0.7248 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 0.77
Sand Yellow
#FCE166
ΔE00 2.30
Yellow Tan
#FFE36E
ΔE00 3.02
Sandy Yellow
#FDEE73
ΔE00 3.38
Yellowish
#FAEE66
ΔE00 3.53
Light Gold
#FDDC5C
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF5F #5F72F2
analogous
#F2955F #F2DF5F #BBF25F
triadic
#F2DF5F #5FF2DF #DF5FF2
tetradic
#F2DF5F #5FF295 #5F72F2 #F25FBB
square
#F2DF5F #5FF295 #5F72F2 #F25FBB
split-complementary
#F2DF5F #5FBBF2 #955FF2
monochromatic
#C6AF10 #EDD426 #F2DF5F #F7EA98 #FBF6D0
Accessibility & contrast
On white
1.36
#F2DF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.50
#F2DF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF5F
15.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF5F | 1.00 | 1.36 | 15.50 | 15.50 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D951
Deuteranopia (green-blind)
#F8E166
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f2df5f; /* rgb */ color: rgb(242, 223, 95); /* oklch */ color: oklch(89.5% 0.148 100.9);
Tailwind
colors: {
custom: {
50: '#f9e891',
500: '#f2df5f',
950: '#000000',
},
}SCSS
$custom: #f2df5f; $custom-light: #f9e891; $custom-dark: #000000;
JSON
{
"hex": "#f2df5f",
"rgb": {
"r": 242,
"g": 223,
"b": 95
},
"hsl": {
"h": 52.245,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.89538,
"c": 0.14791,
"h": 100.9
},
"luminance": 0.72479
}Semantic roles & 50–950 ramp
primary
#F2DF5F
secondary
#3245C4
accent
#21E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F