#F0D673#F0D673
#F0D673 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.123 H 95.0°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D673 |
|---|---|
| RGB | rgb(240, 214, 115) |
| HSL | hsl(48, 81%, 70%) |
| HSV | hsv(48, 52%, 94%) |
| CMYK | cmyk(0%, 10.8%, 52.1%, 5.9%) |
| CIE-LAB | lab(85.94, -3.25, 51.68) |
| CIE-LCH | lch(85.94, 51.79, 93.59°) |
| OKLab | oklab(87.77% -0.0106 0.1223) |
| OKLCH | oklch(87.77% 0.123 95) |
| XYZ | xyz(63.0785, 67.8589, 25.9918) |
| Luminance | 0.6786 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.23
Wheat (survey)
#FBDD7E
ΔE00 2.23
Pale Gold
#FDDE6C
ΔE00 2.92
Light Mustard
#F7D560
ΔE00 2.97
Sand (survey)
#E2CA76
ΔE00 3.58
Yellow Tan
#FFE36E
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D673 #738DF0
analogous
#F09873 #F0D673 #CCF073
triadic
#F0D673 #73F0D6 #D673F0
tetradic
#F0D673 #73F098 #738DF0 #F073CC
square
#F0D673 #73F098 #738DF0 #F073CC
split-complementary
#F0D673 #73CCF0 #9873F0
monochromatic
#D2AB17 #EAC63C #F0D673 #F6E6AA #FCF6E2
Accessibility & contrast
On white
1.44
#F0D673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.57
#F0D673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D673
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D673 | 1.00 | 1.44 | 14.57 | 14.57 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D26A
Deuteranopia (green-blind)
#EFDA77
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f0d673; /* rgb */ color: rgb(240, 214, 115); /* oklch */ color: oklch(87.8% 0.123 95.0);
Tailwind
colors: {
custom: {
50: '#f7e29d',
500: '#f0d673',
950: '#000000',
},
}SCSS
$custom: #f0d673; $custom-light: #f7e29d; $custom-dark: #000000;
JSON
{
"hex": "#f0d673",
"rgb": {
"r": 240,
"g": 214,
"b": 115
},
"hsl": {
"h": 47.52,
"s": 80.645,
"l": 69.608
},
"oklch": {
"l": 0.87769,
"c": 0.12273,
"h": 95
},
"luminance": 0.67856
}Semantic roles & 50–950 ramp
primary
#F0D673
secondary
#3E5BC9
accent
#35DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F