#F0D273#F0D273
#F0D273 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 87.0% C 0.120 H 92.3°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D273 |
|---|---|
| RGB | rgb(240, 210, 115) |
| HSL | hsl(46, 81%, 70%) |
| HSV | hsv(46, 52%, 94%) |
| CMYK | cmyk(0%, 12.5%, 52.1%, 5.9%) |
| CIE-LAB | lab(84.92, -1.20, 50.47) |
| CIE-LCH | lch(84.92, 50.49, 91.37°) |
| OKLab | oklab(86.97% -0.0047 0.1196) |
| OKLCH | oklch(86.97% 0.12 92.3) |
| XYZ | xyz(62.0786, 65.8591, 25.6585) |
| Luminance | 0.6586 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.51
Sandy
#F1DA7A
ΔE00 2.54
Sand (survey)
#E2CA76
ΔE00 3.00
Light Mustard
#F7D560
ΔE00 3.05
Pale Gold
#FDDE6C
ΔE00 3.66
Maize
#F4D054
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D273 #7391F0
analogous
#F09473 #F0D273 #D0F073
triadic
#F0D273 #73F0D2 #D273F0
tetradic
#F0D273 #73F094 #7391F0 #F073D0
square
#F0D273 #73F094 #7391F0 #F073D0
split-complementary
#F0D273 #73D0F0 #9473F0
monochromatic
#D2A517 #EAC03C #F0D273 #F6E4AA #FCF6E2
Accessibility & contrast
On white
1.48
#F0D273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.17
#F0D273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D273
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D273 | 1.00 | 1.48 | 14.17 | 14.17 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CF6B
Deuteranopia (green-blind)
#ECD877
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f0d273; /* rgb */ color: rgb(240, 210, 115); /* oklch */ color: oklch(87.0% 0.120 92.3);
Tailwind
colors: {
custom: {
50: '#f7df9d',
500: '#f0d273',
950: '#000000',
},
}SCSS
$custom: #f0d273; $custom-light: #f7df9d; $custom-dark: #000000;
JSON
{
"hex": "#f0d273",
"rgb": {
"r": 240,
"g": 210,
"b": 115
},
"hsl": {
"h": 45.6,
"s": 80.645,
"l": 69.608
},
"oklch": {
"l": 0.8697,
"c": 0.11971,
"h": 92.3
},
"luminance": 0.65856
}Semantic roles & 50–950 ramp
primary
#F0D273
secondary
#3E5FC9
accent
#3CDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F