#F2DD60#F2DD60
#F2DD60 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.1% C 0.145 H 99.8°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DD60 |
|---|---|
| RGB | rgb(242, 221, 96) |
| HSL | hsl(51, 85%, 66%) |
| HSV | hsv(51, 60%, 95%) |
| CMYK | cmyk(0%, 8.7%, 60.3%, 5.1%) |
| CIE-LAB | lab(87.70, -7.39, 62.41) |
| CIE-LCH | lch(87.70, 62.85, 96.75°) |
| OKLab | oklab(89.14% -0.0248 0.1433) |
| OKLCH | oklch(89.14% 0.145 99.8) |
| XYZ | xyz(64.5883, 71.4374, 21.4507) |
| Luminance | 0.7144 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 0.96
Sand Yellow
#FCE166
ΔE00 1.94
Yellow Tan
#FFE36E
ΔE00 2.67
Pale Gold
#FDDE6C
ΔE00 3.13
Light Gold
#FDDC5C
ΔE00 3.14
Sandy
#F1DA7A
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DD60 #6075F2
analogous
#F29460 #F2DD60 #BEF260
triadic
#F2DD60 #60F2DD #DD60F2
tetradic
#F2DD60 #60F294 #6075F2 #F260BE
square
#F2DD60 #60F294 #6075F2 #F260BE
split-complementary
#F2DD60 #60BEF2 #9460F2
monochromatic
#C7AD10 #EDD127 #F2DD60 #F7E999 #FBF5D1
Accessibility & contrast
On white
1.37
#F2DD60 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.29
#F2DD60 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DD60
15.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DD60 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DD60 | 1.00 | 1.37 | 15.29 | 15.29 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D752
Deuteranopia (green-blind)
#F6DF66
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f2dd60; /* rgb */ color: rgb(242, 221, 96); /* oklch */ color: oklch(89.1% 0.145 99.8);
Tailwind
colors: {
custom: {
50: '#f9e792',
500: '#f2dd60',
950: '#000000',
},
}SCSS
$custom: #f2dd60; $custom-light: #f9e792; $custom-dark: #000000;
JSON
{
"hex": "#f2dd60",
"rgb": {
"r": 242,
"g": 221,
"b": 96
},
"hsl": {
"h": 51.37,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.89142,
"c": 0.14541,
"h": 99.8
},
"luminance": 0.71435
}Semantic roles & 50–950 ramp
primary
#F2DD60
secondary
#3247C4
accent
#24E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F