#F2D873#F2D873
#F2D873 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.3% C 0.125 H 95.2°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D873 |
|---|---|
| RGB | rgb(242, 216, 115) |
| HSL | hsl(48, 83%, 70%) |
| HSV | hsv(48, 52%, 95%) |
| CMYK | cmyk(0%, 10.7%, 52.5%, 5.1%) |
| CIE-LAB | lab(86.62, -3.46, 52.54) |
| CIE-LCH | lch(86.62, 52.65, 93.76°) |
| OKLab | oklab(88.35% -0.0114 0.1241) |
| OKLCH | oklch(88.35% 0.125 95.2) |
| XYZ | xyz(64.2706, 69.2295, 26.1936) |
| Luminance | 0.6923 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.11
Wheat (survey)
#FBDD7E
ΔE00 2.04
Pale Gold
#FDDE6C
ΔE00 2.48
Light Mustard
#F7D560
ΔE00 2.84
Yellow Tan
#FFE36E
ΔE00 3.18
Sand Yellow
#FCE166
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D873 #738DF2
analogous
#F29973 #F2D873 #CCF273
triadic
#F2D873 #73F2D8 #D873F2
tetradic
#F2D873 #73F299 #738DF2 #F273CC
square
#F2D873 #73F299 #738DF2 #F273CC
split-complementary
#F2D873 #73CCF2 #9973F2
monochromatic
#D7AF14 #EDC83B #F2D873 #F7E8AB #FCF7E3
Accessibility & contrast
On white
1.41
#F2D873 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.85
#F2D873 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D873
14.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D873 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D873 | 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)
#EAD46A
Deuteranopia (green-blind)
#F1DC77
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d873; /* rgb */ color: rgb(242, 216, 115); /* oklch */ color: oklch(88.3% 0.125 95.2);
Tailwind
colors: {
custom: {
50: '#f9e39e',
500: '#f2d873',
950: '#000000',
},
}SCSS
$custom: #f2d873; $custom-light: #f9e39e; $custom-dark: #000000;
JSON
{
"hex": "#f2d873",
"rgb": {
"r": 242,
"g": 216,
"b": 115
},
"hsl": {
"h": 47.717,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.8835,
"c": 0.12463,
"h": 95.2
},
"luminance": 0.69227
}Semantic roles & 50–950 ramp
primary
#F2D873
secondary
#3D5BCC
accent
#33DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F