#F2DC66#F2DC66
#F2DC66 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.140 H 98.9°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC66 |
|---|---|
| RGB | rgb(242, 220, 102) |
| HSL | hsl(51, 84%, 67%) |
| HSV | hsv(51, 58%, 95%) |
| CMYK | cmyk(0%, 9.1%, 57.9%, 5.1%) |
| CIE-LAB | lab(87.50, -6.47, 59.55) |
| CIE-LCH | lch(87.50, 59.90, 96.20°) |
| OKLab | oklab(89% -0.0215 0.1379) |
| OKLCH | oklch(89% 0.14 98.9) |
| XYZ | xyz(64.6119, 71.0257, 22.8737) |
| Luminance | 0.7102 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.65
Sand Yellow
#FCE166
ΔE00 1.88
Yellow Tan
#FFE36E
ΔE00 2.38
Pale Gold
#FDDE6C
ΔE00 2.62
Sandy
#F1DA7A
ΔE00 2.98
Light Gold
#FDDC5C
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC66 #667CF2
analogous
#F29666 #F2DC66 #C2F266
triadic
#F2DC66 #66F2DC #DC66F2
tetradic
#F2DC66 #66F296 #667CF2 #F266C2
square
#F2DC66 #66F296 #667CF2 #F266C2
split-complementary
#F2DC66 #66C2F2 #9666F2
monochromatic
#CCAF11 #EDCF2E #F2DC66 #F7E99E #FCF6D7
Accessibility & contrast
On white
1.38
#F2DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.20
#F2DC66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC66
15.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC66 | 1.00 | 1.38 | 15.20 | 15.20 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD75A
Deuteranopia (green-blind)
#F5DF6C
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2dc66; /* rgb */ color: rgb(242, 220, 102); /* oklch */ color: oklch(89.0% 0.140 98.9);
Tailwind
colors: {
custom: {
50: '#f9e695',
500: '#f2dc66',
950: '#000000',
},
}SCSS
$custom: #f2dc66; $custom-light: #f9e695; $custom-dark: #000000;
JSON
{
"hex": "#f2dc66",
"rgb": {
"r": 242,
"g": 220,
"b": 102
},
"hsl": {
"h": 50.571,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.89002,
"c": 0.13958,
"h": 98.9
},
"luminance": 0.71023
}Semantic roles & 50–950 ramp
primary
#F2DC66
secondary
#344BC9
accent
#27E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F