#F2D566#F2D566
#F2D566 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.134 H 94.8°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D566 |
|---|---|
| RGB | rgb(242, 213, 102) |
| HSL | hsl(48, 84%, 67%) |
| HSV | hsv(48, 58%, 95%) |
| CMYK | cmyk(0%, 12%, 57.9%, 5.1%) |
| CIE-LAB | lab(85.72, -2.93, 57.53) |
| CIE-LCH | lch(85.72, 57.61, 92.91°) |
| OKLab | oklab(87.6% -0.0113 0.1336) |
| OKLCH | oklch(87.6% 0.134 94.8) |
| XYZ | xyz(62.8131, 67.4280, 22.2741) |
| Luminance | 0.6743 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.45
Pale Gold
#FDDE6C
ΔE00 2.17
Maize
#F4D054
ΔE00 2.46
Light Gold
#FDDC5C
ΔE00 2.68
Sandy
#F1DA7A
ΔE00 2.71
Sand Yellow
#FCE166
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D566 #6683F2
analogous
#F28F66 #F2D566 #C9F266
triadic
#F2D566 #66F2D5 #D566F2
tetradic
#F2D566 #66F28F #6683F2 #F266C9
square
#F2D566 #66F28F #6683F2 #F266C9
split-complementary
#F2D566 #66C9F2 #8F66F2
monochromatic
#CCA611 #EDC62E #F2D566 #F7E49E #FCF4D7
Accessibility & contrast
On white
1.45
#F2D566 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.49
#F2D566 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D566
14.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D566 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D566 | 1.00 | 1.45 | 14.49 | 14.49 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#F0DA6B
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d566; /* rgb */ color: rgb(242, 213, 102); /* oklch */ color: oklch(87.6% 0.134 94.8);
Tailwind
colors: {
custom: {
50: '#f9e195',
500: '#f2d566',
950: '#000000',
},
}SCSS
$custom: #f2d566; $custom-light: #f9e195; $custom-dark: #000000;
JSON
{
"hex": "#f2d566",
"rgb": {
"r": 242,
"g": 213,
"b": 102
},
"hsl": {
"h": 47.571,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.87595,
"c": 0.13406,
"h": 94.8
},
"luminance": 0.67425
}Semantic roles & 50–950 ramp
primary
#F2D566
secondary
#3452C9
accent
#32E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F