#F2DD62#F2DD62
#F2DD62 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.2% C 0.144 H 99.7°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DD62 |
|---|---|
| RGB | rgb(242, 221, 98) |
| HSL | hsl(51, 85%, 67%) |
| HSV | hsv(51, 60%, 95%) |
| CMYK | cmyk(0%, 8.7%, 59.5%, 5.1%) |
| CIE-LAB | lab(87.72, -7.25, 61.56) |
| CIE-LCH | lch(87.72, 61.99, 96.72°) |
| OKLab | oklab(89.16% -0.0242 0.1417) |
| OKLCH | oklch(89.16% 0.144 99.7) |
| XYZ | xyz(64.6815, 71.4747, 21.9418) |
| Luminance | 0.7147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.09
Sand Yellow
#FCE166
ΔE00 1.91
Yellow Tan
#FFE36E
ΔE00 2.59
Pale Gold
#FDDE6C
ΔE00 3.02
Light Gold
#FDDC5C
ΔE00 3.16
Sandy
#F1DA7A
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DD62 #6277F2
analogous
#F29562 #F2DD62 #BFF262
triadic
#F2DD62 #62F2DD #DD62F2
tetradic
#F2DD62 #62F295 #6277F2 #F262BF
square
#F2DD62 #62F295 #6277F2 #F262BF
split-complementary
#F2DD62 #62BFF2 #9562F2
monochromatic
#C9AE11 #EDD129 #F2DD62 #F7E99B #FBF5D3
Accessibility & contrast
On white
1.37
#F2DD62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.29
#F2DD62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DD62
15.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DD62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DD62 | 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)
#F0D755
Deuteranopia (green-blind)
#F6DF68
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f2dd62; /* rgb */ color: rgb(242, 221, 98); /* oklch */ color: oklch(89.2% 0.144 99.7);
Tailwind
colors: {
custom: {
50: '#f9e793',
500: '#f2dd62',
950: '#000000',
},
}SCSS
$custom: #f2dd62; $custom-light: #f9e793; $custom-dark: #000000;
JSON
{
"hex": "#f2dd62",
"rgb": {
"r": 242,
"g": 221,
"b": 98
},
"hsl": {
"h": 51.25,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.89162,
"c": 0.14378,
"h": 99.7
},
"luminance": 0.71472
}Semantic roles & 50–950 ramp
primary
#F2DD62
secondary
#3348C6
accent
#25E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F