#F2D875#F2D875
#F2D875 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.4% C 0.123 H 95.0°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D875 |
|---|---|
| RGB | rgb(242, 216, 117) |
| HSL | hsl(48, 83%, 70%) |
| HSV | hsv(48, 52%, 95%) |
| CMYK | cmyk(0%, 10.7%, 51.7%, 5.1%) |
| CIE-LAB | lab(86.64, -3.29, 51.62) |
| CIE-LCH | lch(86.64, 51.72, 93.65°) |
| OKLab | oklab(88.38% -0.0107 0.1223) |
| OKLCH | oklch(88.38% 0.123 95) |
| XYZ | xyz(64.3870, 69.2761, 26.8063) |
| Luminance | 0.6927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 0.97
Wheat (survey)
#FBDD7E
ΔE00 1.89
Pale Gold
#FDDE6C
ΔE00 2.66
Light Mustard
#F7D560
ΔE00 3.02
Yellow Tan
#FFE36E
ΔE00 3.35
Sand Yellow
#FCE166
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D875 #758FF2
analogous
#F29975 #F2D875 #CDF275
triadic
#F2D875 #75F2D8 #D875F2
tetradic
#F2D875 #75F299 #758FF2 #F275CD
square
#F2D875 #75F299 #758FF2 #F275CD
split-complementary
#F2D875 #75CDF2 #9975F2
monochromatic
#D8AF14 #EDC83D #F2D875 #F7E8AD #FCF7E3
Accessibility & contrast
On white
1.41
#F2D875 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.85
#F2D875 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D875
14.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D875 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D875 | 1.00 | 1.41 | 14.85 | 14.85 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD46C
Deuteranopia (green-blind)
#F1DC79
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d875; /* rgb */ color: rgb(242, 216, 117); /* oklch */ color: oklch(88.4% 0.123 95.0);
Tailwind
colors: {
custom: {
50: '#f9e39f',
500: '#f2d875',
950: '#000000',
},
}SCSS
$custom: #f2d875; $custom-light: #f9e39f; $custom-dark: #000000;
JSON
{
"hex": "#f2d875",
"rgb": {
"r": 242,
"g": 216,
"b": 117
},
"hsl": {
"h": 47.52,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.88375,
"c": 0.12273,
"h": 95
},
"luminance": 0.69273
}Semantic roles & 50–950 ramp
primary
#F2D875
secondary
#3F5DCC
accent
#33DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480