#F2D262#F2D262
#F2D262 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 87.0% C 0.135 H 93.5°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D262 |
|---|---|
| RGB | rgb(242, 210, 98) |
| HSL | hsl(47, 85%, 67%) |
| HSV | hsv(47, 60%, 95%) |
| CMYK | cmyk(0%, 13.2%, 59.5%, 5.1%) |
| CIE-LAB | lab(84.92, -1.68, 58.44) |
| CIE-LCH | lch(84.92, 58.47, 91.64°) |
| OKLab | oklab(86.95% -0.0082 0.1351) |
| OKLCH | oklch(86.95% 0.135 93.5) |
| XYZ | xyz(61.8719, 65.8554, 21.0053) |
| Luminance | 0.6585 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.04
Maize
#F4D054
ΔE00 1.68
Pale Gold
#FDDE6C
ΔE00 2.71
Light Gold
#FDDC5C
ΔE00 2.89
Wheat (survey)
#FBDD7E
ΔE00 3.48
Sandy
#F1DA7A
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D262 #6282F2
analogous
#F28A62 #F2D262 #CAF262
triadic
#F2D262 #62F2D2 #D262F2
tetradic
#F2D262 #62F28A #6282F2 #F262CA
square
#F2D262 #62F28A #6282F2 #F262CA
split-complementary
#F2D262 #62CAF2 #8A62F2
monochromatic
#C9A011 #EDC229 #F2D262 #F7E29B #FBF2D3
Accessibility & contrast
On white
1.48
#F2D262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.17
#F2D262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D262
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D262 | 1.00 | 1.48 | 14.17 | 14.17 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE56
Deuteranopia (green-blind)
#EED867
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f2d262; /* rgb */ color: rgb(242, 210, 98); /* oklch */ color: oklch(87.0% 0.135 93.5);
Tailwind
colors: {
custom: {
50: '#f9df92',
500: '#f2d262',
950: '#000000',
},
}SCSS
$custom: #f2d262; $custom-light: #f9df92; $custom-dark: #000000;
JSON
{
"hex": "#f2d262",
"rgb": {
"r": 242,
"g": 210,
"b": 98
},
"hsl": {
"h": 46.667,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.86952,
"c": 0.1353,
"h": 93.5
},
"luminance": 0.65852
}Semantic roles & 50–950 ramp
primary
#F2D262
secondary
#3353C6
accent
#35E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F