#F2D95E#F2D95E
#F2D95E is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.3% C 0.144 H 97.8°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D95E |
|---|---|
| RGB | rgb(242, 217, 94) |
| HSL | hsl(50, 85%, 66%) |
| HSV | hsv(50, 61%, 95%) |
| CMYK | cmyk(0%, 10.3%, 61.2%, 5.1%) |
| CIE-LAB | lab(86.66, -5.50, 62.14) |
| CIE-LCH | lch(86.66, 62.38, 95.06°) |
| OKLab | oklab(88.31% -0.0196 0.1424) |
| OKLCH | oklch(88.31% 0.144 97.8) |
| XYZ | xyz(63.4538, 69.3140, 20.6241) |
| Luminance | 0.6931 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.93
Dull Yellow
#EEDC5B
ΔE00 2.00
Light Gold
#FDDC5C
ΔE00 2.31
Pale Gold
#FDDE6C
ΔE00 2.46
Yellow Tan
#FFE36E
ΔE00 2.62
Light Mustard
#F7D560
ΔE00 2.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D95E #5E77F2
analogous
#F28F5E #F2D95E #C1F25E
triadic
#F2D95E #5EF2D9 #D95EF2
tetradic
#F2D95E #5EF28F #5E77F2 #F25EC1
square
#F2D95E #5EF28F #5E77F2 #F25EC1
split-complementary
#F2D95E #5EC1F2 #8F5EF2
monochromatic
#C6A710 #EDCC25 #F2D95E #F7E697 #FBF4CF
Accessibility & contrast
On white
1.41
#F2D95E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.86
#F2D95E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D95E
14.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D95E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D95E | 1.00 | 1.41 | 14.86 | 14.86 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD450
Deuteranopia (green-blind)
#F3DD64
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d95e; /* rgb */ color: rgb(242, 217, 94); /* oklch */ color: oklch(88.3% 0.144 97.8);
Tailwind
colors: {
custom: {
50: '#fae490',
500: '#f2d95e',
950: '#000000',
},
}SCSS
$custom: #f2d95e; $custom-light: #fae490; $custom-dark: #000000;
JSON
{
"hex": "#f2d95e",
"rgb": {
"r": 242,
"g": 217,
"b": 94
},
"hsl": {
"h": 49.865,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.88314,
"c": 0.14377,
"h": 97.8
},
"luminance": 0.69311
}Semantic roles & 50–950 ramp
primary
#F2D95E
secondary
#314AC3
accent
#29E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F