#F2D261#F2D261
#F2D261 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.136 H 93.6°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D261 |
|---|---|
| RGB | rgb(242, 210, 97) |
| HSL | hsl(47, 85%, 66%) |
| HSV | hsv(47, 60%, 95%) |
| CMYK | cmyk(0%, 13.2%, 59.9%, 5.1%) |
| CIE-LAB | lab(84.91, -1.75, 58.88) |
| CIE-LCH | lch(84.91, 58.91, 91.70°) |
| OKLab | oklab(86.94% -0.0085 0.1359) |
| OKLCH | oklch(86.94% 0.136 93.6) |
| XYZ | xyz(61.8249, 65.8366, 20.7582) |
| Luminance | 0.6583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.99
Maize
#F4D054
ΔE00 1.59
Pale Gold
#FDDE6C
ΔE00 2.70
Light Gold
#FDDC5C
ΔE00 2.82
Sandy
#F1DA7A
ΔE00 3.57
Wheat (survey)
#FBDD7E
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D261 #6181F2
analogous
#F28A61 #F2D261 #C9F261
triadic
#F2D261 #61F2D2 #D261F2
tetradic
#F2D261 #61F28A #6181F2 #F261C9
square
#F2D261 #61F28A #6181F2 #F261C9
split-complementary
#F2D261 #61C9F2 #8A61F2
monochromatic
#C8A010 #EDC228 #F2D261 #F7E29A #FBF2D2
Accessibility & contrast
On white
1.48
#F2D261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.17
#F2D261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D261
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D261 | 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)
#E6CE55
Deuteranopia (green-blind)
#EED866
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f2d261; /* rgb */ color: rgb(242, 210, 97); /* oklch */ color: oklch(86.9% 0.136 93.6);
Tailwind
colors: {
custom: {
50: '#f9df92',
500: '#f2d261',
950: '#000000',
},
}SCSS
$custom: #f2d261; $custom-light: #f9df92; $custom-dark: #000000;
JSON
{
"hex": "#f2d261",
"rgb": {
"r": 242,
"g": 210,
"b": 97
},
"hsl": {
"h": 46.759,
"s": 84.795,
"l": 66.471
},
"oklch": {
"l": 0.86942,
"c": 0.13613,
"h": 93.6
},
"luminance": 0.65833
}Semantic roles & 50–950 ramp
primary
#F2D261
secondary
#3253C5
accent
#35E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F