#F1D862#F1D862
#F1D862 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.140 H 97.4°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F1D862 |
|---|---|
| RGB | rgb(241, 216, 98) |
| HSL | hsl(50, 84%, 66%) |
| HSV | hsv(50, 59%, 95%) |
| CMYK | cmyk(0%, 10.4%, 59.3%, 5.5%) |
| CIE-LAB | lab(86.35, -5.14, 60.02) |
| CIE-LCH | lch(86.35, 60.24, 94.90°) |
| OKLab | oklab(88.06% -0.0181 0.1385) |
| OKLCH | oklch(88.06% 0.14 97.4) |
| XYZ | xyz(63.0387, 68.6972, 21.4923) |
| Luminance | 0.6869 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 2.18
Dull Yellow
#EEDC5B
ΔE00 2.32
Pale Gold
#FDDE6C
ΔE00 2.35
Light Mustard
#F7D560
ΔE00 2.47
Light Gold
#FDDC5C
ΔE00 2.55
Yellow Tan
#FFE36E
ΔE00 2.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F1D862 #627BF1
analogous
#F19162 #F1D862 #C3F162
triadic
#F1D862 #62F1D8 #D862F1
tetradic
#F1D862 #62F191 #627BF1 #F162C3
square
#F1D862 #62F191 #627BF1 #F162C3
split-complementary
#F1D862 #62C3F1 #9162F1
monochromatic
#C7A712 #ECCA2A #F1D862 #F6E69A #FBF4D2
Accessibility & contrast
On white
1.42
#F1D862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.74
#F1D862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F1D862
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F1D862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F1D862 | 1.00 | 1.42 | 14.74 | 14.74 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD356
Deuteranopia (green-blind)
#F2DC68
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f1d862; /* rgb */ color: rgb(241, 216, 98); /* oklch */ color: oklch(88.1% 0.140 97.4);
Tailwind
colors: {
custom: {
50: '#f9e393',
500: '#f1d862',
950: '#000000',
},
}SCSS
$custom: #f1d862; $custom-light: #f9e393; $custom-dark: #000000;
JSON
{
"hex": "#f1d862",
"rgb": {
"r": 241,
"g": 216,
"b": 98
},
"hsl": {
"h": 49.51,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.88063,
"c": 0.13963,
"h": 97.4
},
"luminance": 0.68694
}Semantic roles & 50–950 ramp
primary
#F1D862
secondary
#334DC4
accent
#2CE005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F