#F5D862#F5D862
#F5D862 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.4% C 0.140 H 95.6°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D862 |
|---|---|
| RGB | rgb(245, 216, 98) |
| HSL | hsl(48, 88%, 67%) |
| HSV | hsv(48, 60%, 96%) |
| CMYK | cmyk(0%, 11.8%, 60%, 3.9%) |
| CIE-LAB | lab(86.71, -3.50, 60.51) |
| CIE-LCH | lch(86.71, 60.61, 93.31°) |
| OKLab | oklab(88.43% -0.0136 0.1394) |
| OKLCH | oklch(88.43% 0.14 95.6) |
| XYZ | xyz(64.4194, 69.4091, 21.5570) |
| Luminance | 0.6941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.46
Pale Gold
#FDDE6C
ΔE00 1.64
Light Gold
#FDDC5C
ΔE00 1.75
Sand Yellow
#FCE166
ΔE00 2.09
Yellow Tan
#FFE36E
ΔE00 2.44
Maize
#F4D054
ΔE00 2.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D862 #627FF5
analogous
#F58E62 #F5D862 #C9F562
triadic
#F5D862 #62F5D8 #D862F5
tetradic
#F5D862 #62F58E #627FF5 #F562C9
square
#F5D862 #62F58E #627FF5 #F562C9
split-complementary
#F5D862 #62C9F5 #8E62F5
monochromatic
#CFA90D #F1CA28 #F5D862 #F9E69C #FCF5D5
Accessibility & contrast
On white
1.41
#F5D862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.88
#F5D862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D862
14.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D862 | 1.00 | 1.41 | 14.88 | 14.88 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD455
Deuteranopia (green-blind)
#F3DD68
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f5d862; /* rgb */ color: rgb(245, 216, 98); /* oklch */ color: oklch(88.4% 0.140 95.6);
Tailwind
colors: {
custom: {
50: '#fce393',
500: '#f5d862',
950: '#000000',
},
}SCSS
$custom: #f5d862; $custom-light: #fce393; $custom-dark: #000000;
JSON
{
"hex": "#f5d862",
"rgb": {
"r": 245,
"g": 216,
"b": 98
},
"hsl": {
"h": 48.163,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.88425,
"c": 0.14007,
"h": 95.6
},
"luminance": 0.69406
}Semantic roles & 50–950 ramp
primary
#F5D862
secondary
#304FCB
accent
#2EE501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F