#F2DD66#F2DD66
#F2DD66 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.2% C 0.140 H 99.4°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DD66 |
|---|---|
| RGB | rgb(242, 221, 102) |
| HSL | hsl(51, 84%, 67%) |
| HSV | hsv(51, 58%, 95%) |
| CMYK | cmyk(0%, 8.7%, 57.9%, 5.1%) |
| CIE-LAB | lab(87.75, -6.98, 59.84) |
| CIE-LCH | lch(87.75, 60.24, 96.65°) |
| OKLab | oklab(89.2% -0.023 0.1385) |
| OKLCH | oklch(89.2% 0.14 99.4) |
| XYZ | xyz(64.8751, 71.5521, 22.9615) |
| Luminance | 0.7155 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.44
Sand Yellow
#FCE166
ΔE00 1.94
Yellow Tan
#FFE36E
ΔE00 2.46
Pale Gold
#FDDE6C
ΔE00 2.86
Sandy
#F1DA7A
ΔE00 3.17
Light Gold
#FDDC5C
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DD66 #667BF2
analogous
#F29766 #F2DD66 #C1F266
triadic
#F2DD66 #66F2DD #DD66F2
tetradic
#F2DD66 #66F297 #667BF2 #F266C1
square
#F2DD66 #66F297 #667BF2 #F266C1
split-complementary
#F2DD66 #66C1F2 #9766F2
monochromatic
#CCB011 #EDD02E #F2DD66 #F7EA9E #FCF6D7
Accessibility & contrast
On white
1.37
#F2DD66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.31
#F2DD66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DD66
15.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DD66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DD66 | 1.00 | 1.37 | 15.31 | 15.31 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D85A
Deuteranopia (green-blind)
#F6DF6C
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f2dd66; /* rgb */ color: rgb(242, 221, 102); /* oklch */ color: oklch(89.2% 0.140 99.4);
Tailwind
colors: {
custom: {
50: '#f9e795',
500: '#f2dd66',
950: '#000000',
},
}SCSS
$custom: #f2dd66; $custom-light: #f9e795; $custom-dark: #000000;
JSON
{
"hex": "#f2dd66",
"rgb": {
"r": 242,
"g": 221,
"b": 102
},
"hsl": {
"h": 51,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.89204,
"c": 0.14042,
"h": 99.4
},
"luminance": 0.71549
}Semantic roles & 50–950 ramp
primary
#F2DD66
secondary
#344AC9
accent
#26E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F