#F2D96C#F2D96C
#F2D96C is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.132 H 96.6°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D96C |
|---|---|
| RGB | rgb(242, 217, 108) |
| HSL | hsl(49, 84%, 69%) |
| HSV | hsv(49, 55%, 95%) |
| CMYK | cmyk(0%, 10.3%, 55.4%, 5.1%) |
| CIE-LAB | lab(86.79, -4.52, 56.02) |
| CIE-LCH | lch(86.79, 56.20, 94.61°) |
| OKLab | oklab(88.47% -0.0152 0.131) |
| OKLCH | oklch(88.47% 0.132 96.6) |
| XYZ | xyz(64.1400, 69.5884, 24.2378) |
| Luminance | 0.6959 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.86
Pale Gold
#FDDE6C
ΔE00 2.10
Sand Yellow
#FCE166
ΔE00 2.47
Yellow Tan
#FFE36E
ΔE00 2.57
Light Mustard
#F7D560
ΔE00 2.59
Wheat (survey)
#FBDD7E
ΔE00 2.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D96C #6C85F2
analogous
#F2966C #F2D96C #C8F26C
triadic
#F2D96C #6CF2D9 #D96CF2
tetradic
#F2D96C #6CF296 #6C85F2 #F26CC8
square
#F2D96C #6CF296 #6C85F2 #F26CC8
split-complementary
#F2D96C #6CC8F2 #966CF2
monochromatic
#D1AE12 #EDCA34 #F2D96C #F7E8A4 #FCF6DC
Accessibility & contrast
On white
1.41
#F2D96C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.92
#F2D96C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D96C
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D96C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D96C | 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)
#ECD562
Deuteranopia (green-blind)
#F2DD71
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d96c; /* rgb */ color: rgb(242, 217, 108); /* oklch */ color: oklch(88.5% 0.132 96.6);
Tailwind
colors: {
custom: {
50: '#f9e499',
500: '#f2d96c',
950: '#000000',
},
}SCSS
$custom: #f2d96c; $custom-light: #f9e499; $custom-dark: #000000;
JSON
{
"hex": "#f2d96c",
"rgb": {
"r": 242,
"g": 217,
"b": 108
},
"hsl": {
"h": 48.806,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.88465,
"c": 0.13187,
"h": 96.6
},
"luminance": 0.69586
}Semantic roles & 50–950 ramp
primary
#F2D96C
secondary
#3753CB
accent
#2EE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F