#F0D686#F0D686
#F0D686 is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 88.0% C 0.104 H 92.0°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D686 |
|---|---|
| RGB | rgb(240, 214, 134) |
| HSL | hsl(45, 78%, 73%) |
| HSV | hsv(45, 44%, 94%) |
| CMYK | cmyk(0%, 10.8%, 44.2%, 5.9%) |
| CIE-LAB | lab(86.18, -1.52, 42.71) |
| CIE-LCH | lch(86.18, 42.73, 92.04°) |
| OKLab | oklab(88.04% -0.0037 0.1037) |
| OKLCH | oklch(88.04% 0.104 92) |
| XYZ | xyz(64.2866, 68.3422, 32.3547) |
| Luminance | 0.6834 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.90
Wheat (survey)
#FBDD7E
ΔE00 2.93
Sand (survey)
#E2CA76
ΔE00 3.13
Pale Gold
#FDDE6C
ΔE00 5.25
Light Mustard
#F7D560
ΔE00 5.45
Khaki (CSS)
#F0E68C
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D686 #86A0F0
analogous
#F0A186 #F0D686 #D5F086
triadic
#F0D686 #86F0D6 #D686F0
tetradic
#F0D686 #86F0A1 #86A0F0 #F086D5
square
#F0D686 #86F0A1 #86A0F0 #F086D5
split-complementary
#F0D686 #86D5F0 #A186F0
monochromatic
#E0B01C #E9C450 #F0D686 #F7E8BC #FCF6E4
Accessibility & contrast
On white
1.43
#F0D686 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.67
#F0D686 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D686
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D686 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D686 | 1.00 | 1.43 | 14.67 | 14.67 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D380
Deuteranopia (green-blind)
#EDDB89
Tritanopia (blue-blind)
#FFCAC2
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f0d686; /* rgb */ color: rgb(240, 214, 134); /* oklch */ color: oklch(88.0% 0.104 92.0);
Tailwind
colors: {
custom: {
50: '#f7e2aa',
500: '#f0d686',
950: '#000000',
},
}SCSS
$custom: #f0d686; $custom-light: #f7e2aa; $custom-dark: #000000;
JSON
{
"hex": "#f0d686",
"rgb": {
"r": 240,
"g": 214,
"b": 134
},
"hsl": {
"h": 45.283,
"s": 77.941,
"l": 73.333
},
"oklch": {
"l": 0.88038,
"c": 0.10373,
"h": 92
},
"luminance": 0.6834
}Semantic roles & 50–950 ramp
primary
#F0D686
secondary
#4F6DCB
accent
#3EDA0B
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481