#F2D664#F2D664
#F2D664 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.137 H 95.6°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D664 |
|---|---|
| RGB | rgb(242, 214, 100) |
| HSL | hsl(48, 85%, 67%) |
| HSV | hsv(48, 59%, 95%) |
| CMYK | cmyk(0%, 11.6%, 58.7%, 5.1%) |
| CIE-LAB | lab(85.95, -3.58, 58.70) |
| CIE-LCH | lch(85.95, 58.81, 93.49°) |
| OKLab | oklab(87.77% -0.0134 0.1359) |
| OKLCH | oklch(87.77% 0.137 95.6) |
| XYZ | xyz(62.9674, 67.8934, 21.8421) |
| Luminance | 0.6789 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.61
Pale Gold
#FDDE6C
ΔE00 2.07
Light Gold
#FDDC5C
ΔE00 2.43
Maize
#F4D054
ΔE00 2.58
Sand Yellow
#FCE166
ΔE00 2.63
Sandy
#F1DA7A
ΔE00 2.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D664 #6480F2
analogous
#F28F64 #F2D664 #C7F264
triadic
#F2D664 #64F2D6 #D664F2
tetradic
#F2D664 #64F28F #6480F2 #F264C7
square
#F2D664 #64F28F #6480F2 #F264C7
split-complementary
#F2D664 #64C7F2 #8F64F2
monochromatic
#CBA611 #EDC72C #F2D664 #F7E59C #FBF4D5
Accessibility & contrast
On white
1.44
#F2D664 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.58
#F2D664 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D664
14.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D664 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D664 | 1.00 | 1.44 | 14.58 | 14.58 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D258
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d664; /* rgb */ color: rgb(242, 214, 100); /* oklch */ color: oklch(87.8% 0.137 95.6);
Tailwind
colors: {
custom: {
50: '#f9e294',
500: '#f2d664',
950: '#000000',
},
}SCSS
$custom: #f2d664; $custom-light: #f9e294; $custom-dark: #000000;
JSON
{
"hex": "#f2d664",
"rgb": {
"r": 242,
"g": 214,
"b": 100
},
"hsl": {
"h": 48.169,
"s": 84.524,
"l": 67.059
},
"oklch": {
"l": 0.87773,
"c": 0.13652,
"h": 95.6
},
"luminance": 0.6789
}Semantic roles & 50–950 ramp
primary
#F2D664
secondary
#3350C7
accent
#30E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F