#F2D673#F2D673
#F2D673 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.123 H 93.9°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D673 |
|---|---|
| RGB | rgb(242, 214, 115) |
| HSL | hsl(47, 83%, 70%) |
| HSV | hsv(47, 52%, 95%) |
| CMYK | cmyk(0%, 11.6%, 52.5%, 5.1%) |
| CIE-LAB | lab(86.11, -2.44, 51.94) |
| CIE-LCH | lch(86.11, 51.99, 92.69°) |
| OKLab | oklab(87.95% -0.0084 0.1228) |
| OKLCH | oklch(87.95% 0.123 93.9) |
| XYZ | xyz(63.7614, 68.2110, 26.0238) |
| Luminance | 0.6821 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.60
Wheat (survey)
#FBDD7E
ΔE00 1.92
Light Mustard
#F7D560
ΔE00 2.66
Pale Gold
#FDDE6C
ΔE00 2.72
Yellow Tan
#FFE36E
ΔE00 3.64
Sand (survey)
#E2CA76
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D673 #738FF2
analogous
#F29773 #F2D673 #CEF273
triadic
#F2D673 #73F2D6 #D673F2
tetradic
#F2D673 #73F297 #738FF2 #F273CE
square
#F2D673 #73F297 #738FF2 #F273CE
split-complementary
#F2D673 #73CEF2 #9773F2
monochromatic
#D7AC14 #EDC63B #F2D673 #F7E6AB #FCF7E3
Accessibility & contrast
On white
1.43
#F2D673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.64
#F2D673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D673
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D673 | 1.00 | 1.43 | 14.64 | 14.64 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D26A
Deuteranopia (green-blind)
#EFDB77
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d673; /* rgb */ color: rgb(242, 214, 115); /* oklch */ color: oklch(87.9% 0.123 93.9);
Tailwind
colors: {
custom: {
50: '#f9e29d',
500: '#f2d673',
950: '#000000',
},
}SCSS
$custom: #f2d673; $custom-light: #f9e29d; $custom-dark: #000000;
JSON
{
"hex": "#f2d673",
"rgb": {
"r": 242,
"g": 214,
"b": 115
},
"hsl": {
"h": 46.772,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.8795,
"c": 0.12308,
"h": 93.9
},
"luminance": 0.68208
}Semantic roles & 50–950 ramp
primary
#F2D673
secondary
#3D5DCC
accent
#36DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F