#F2D96D#F2D96D
#F2D96D is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.131 H 96.5°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D96D |
|---|---|
| RGB | rgb(242, 217, 109) |
| HSL | hsl(49, 84%, 69%) |
| HSV | hsv(49, 55%, 95%) |
| CMYK | cmyk(0%, 10.3%, 55%, 5.1%) |
| CIE-LAB | lab(86.81, -4.44, 55.57) |
| CIE-LCH | lch(86.81, 55.75, 94.57°) |
| OKLab | oklab(88.48% -0.0149 0.1301) |
| OKLCH | oklch(88.48% 0.131 96.5) |
| XYZ | xyz(64.1935, 69.6099, 24.5197) |
| Luminance | 0.6961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.74
Pale Gold
#FDDE6C
ΔE00 2.13
Sand Yellow
#FCE166
ΔE00 2.55
Yellow Tan
#FFE36E
ΔE00 2.61
Light Mustard
#F7D560
ΔE00 2.63
Wheat (survey)
#FBDD7E
ΔE00 2.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D96D #6D86F2
analogous
#F2976D #F2D96D #C9F26D
triadic
#F2D96D #6DF2D9 #D96DF2
tetradic
#F2D96D #6DF297 #6D86F2 #F26DC9
square
#F2D96D #6DF297 #6D86F2 #F26DC9
split-complementary
#F2D96D #6DC9F2 #976DF2
monochromatic
#D2AE13 #EDCA35 #F2D96D #F7E8A5 #FCF6DD
Accessibility & contrast
On white
1.41
#F2D96D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.92
#F2D96D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D96D
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D96D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D96D | 1.00 | 1.41 | 14.92 | 14.92 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD563
Deuteranopia (green-blind)
#F2DD72
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d96d; /* rgb */ color: rgb(242, 217, 109); /* oklch */ color: oklch(88.5% 0.131 96.5);
Tailwind
colors: {
custom: {
50: '#f9e49a',
500: '#f2d96d',
950: '#000000',
},
}SCSS
$custom: #f2d96d; $custom-light: #f9e49a; $custom-dark: #000000;
JSON
{
"hex": "#f2d96d",
"rgb": {
"r": 242,
"g": 217,
"b": 109
},
"hsl": {
"h": 48.722,
"s": 83.648,
"l": 68.824
},
"oklch": {
"l": 0.88477,
"c": 0.13097,
"h": 96.5
},
"luminance": 0.69607
}Semantic roles & 50–950 ramp
primary
#F2D96D
secondary
#3854CB
accent
#2FE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F