#F2D062#F2D062
#F2D062 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.6% C 0.134 H 92.2°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D062 |
|---|---|
| RGB | rgb(242, 208, 98) |
| HSL | hsl(46, 85%, 67%) |
| HSV | hsv(46, 60%, 95%) |
| CMYK | cmyk(0%, 14%, 59.5%, 5.1%) |
| CIE-LAB | lab(84.42, -0.66, 57.87) |
| CIE-LCH | lch(84.42, 57.88, 90.65°) |
| OKLab | oklab(86.55% -0.0052 0.1338) |
| OKLCH | oklch(86.55% 0.134 92.2) |
| XYZ | xyz(61.3812, 64.8740, 20.8417) |
| Luminance | 0.6487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.42
Maize
#F4D054
ΔE00 1.66
Pale Gold
#FDDE6C
ΔE00 3.23
Light Gold
#FDDC5C
ΔE00 3.41
Wheat (survey)
#FBDD7E
ΔE00 3.68
Sandy
#F1DA7A
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D062 #6284F2
analogous
#F28862 #F2D062 #CCF262
triadic
#F2D062 #62F2D0 #D062F2
tetradic
#F2D062 #62F288 #6284F2 #F262CC
square
#F2D062 #62F288 #6284F2 #F262CC
split-complementary
#F2D062 #62CCF2 #8862F2
monochromatic
#C99D11 #EDBF29 #F2D062 #F7E19B #FBF2D3
Accessibility & contrast
On white
1.50
#F2D062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.97
#F2D062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D062
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D062 | 1.00 | 1.50 | 13.97 | 13.97 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#ECD767
Tritanopia (blue-blind)
#FFC1B8
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f2d062; /* rgb */ color: rgb(242, 208, 98); /* oklch */ color: oklch(86.6% 0.134 92.2);
Tailwind
colors: {
custom: {
50: '#f9de92',
500: '#f2d062',
950: '#000000',
},
}SCSS
$custom: #f2d062; $custom-light: #f9de92; $custom-dark: #000000;
JSON
{
"hex": "#f2d062",
"rgb": {
"r": 242,
"g": 208,
"b": 98
},
"hsl": {
"h": 45.833,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.86554,
"c": 0.13394,
"h": 92.2
},
"luminance": 0.64871
}Semantic roles & 50–950 ramp
primary
#F2D062
secondary
#3355C6
accent
#38E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F