#F0D375#F0D375
#F0D375 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.2% C 0.119 H 92.7°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D375 |
|---|---|
| RGB | rgb(240, 211, 117) |
| HSL | hsl(46, 80%, 70%) |
| HSV | hsv(46, 51%, 94%) |
| CMYK | cmyk(0%, 12.1%, 51.3%, 5.9%) |
| CIE-LAB | lab(85.20, -1.55, 49.84) |
| CIE-LCH | lch(85.20, 49.87, 91.78°) |
| OKLab | oklab(87.2% -0.0055 0.1184) |
| OKLCH | oklch(87.2% 0.119 92.7) |
| XYZ | xyz(62.4426, 66.4009, 26.3537) |
| Luminance | 0.6640 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.23
Wheat (survey)
#FBDD7E
ΔE00 2.32
Sand (survey)
#E2CA76
ΔE00 2.95
Light Mustard
#F7D560
ΔE00 3.21
Pale Gold
#FDDE6C
ΔE00 3.62
Maize
#F4D054
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D375 #7592F0
analogous
#F09675 #F0D375 #CFF075
triadic
#F0D375 #75F0D3 #D375F0
tetradic
#F0D375 #75F096 #7592F0 #F075CF
square
#F0D375 #75F096 #7592F0 #F075CF
split-complementary
#F0D375 #75CFF0 #9675F0
monochromatic
#D4A717 #EAC13E #F0D375 #F6E5AC #FCF6E3
Accessibility & contrast
On white
1.47
#F0D375 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.28
#F0D375 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D375
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D375 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D375 | 1.00 | 1.47 | 14.28 | 14.28 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5D06D
Deuteranopia (green-blind)
#ECD979
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d375; /* rgb */ color: rgb(240, 211, 117); /* oklch */ color: oklch(87.2% 0.119 92.7);
Tailwind
colors: {
custom: {
50: '#f7e09f',
500: '#f0d375',
950: '#000000',
},
}SCSS
$custom: #f0d375; $custom-light: #f7e09f; $custom-dark: #000000;
JSON
{
"hex": "#f0d375",
"rgb": {
"r": 240,
"g": 211,
"b": 117
},
"hsl": {
"h": 45.854,
"s": 80.392,
"l": 70
},
"oklch": {
"l": 0.87196,
"c": 0.11853,
"h": 92.7
},
"luminance": 0.66398
}Semantic roles & 50–950 ramp
primary
#F0D375
secondary
#4060C9
accent
#3BDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480