#F5D462#F5D462
#F5D462 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.137 H 93.2°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D462 |
|---|---|
| RGB | rgb(245, 212, 98) |
| HSL | hsl(47, 88%, 67%) |
| HSV | hsv(47, 60%, 96%) |
| CMYK | cmyk(0%, 13.5%, 60%, 3.9%) |
| CIE-LAB | lab(85.70, -1.46, 59.39) |
| CIE-LCH | lch(85.70, 59.40, 91.41°) |
| OKLab | oklab(87.63% -0.0077 0.137) |
| OKLCH | oklch(87.63% 0.137 93.2) |
| XYZ | xyz(63.4071, 67.3845, 21.2196) |
| Luminance | 0.6738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.48
Maize
#F4D054
ΔE00 1.57
Pale Gold
#FDDE6C
ΔE00 2.26
Light Gold
#FDDC5C
ΔE00 2.38
Wheat (survey)
#FBDD7E
ΔE00 3.34
Sand Yellow
#FCE166
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D462 #6283F5
analogous
#F58B62 #F5D462 #CCF562
triadic
#F5D462 #62F5D4 #D462F5
tetradic
#F5D462 #62F58B #6283F5 #F562CC
square
#F5D462 #62F58B #6283F5 #F562CC
split-complementary
#F5D462 #62CCF5 #8B62F5
monochromatic
#CFA40D #F1C428 #F5D462 #F9E49C #FCF4D5
Accessibility & contrast
On white
1.45
#F5D462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.48
#F5D462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D462
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D462 | 1.00 | 1.45 | 14.48 | 14.48 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D156
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f5d462; /* rgb */ color: rgb(245, 212, 98); /* oklch */ color: oklch(87.6% 0.137 93.2);
Tailwind
colors: {
custom: {
50: '#fce092',
500: '#f5d462',
950: '#000000',
},
}SCSS
$custom: #f5d462; $custom-light: #fce092; $custom-dark: #000000;
JSON
{
"hex": "#f5d462",
"rgb": {
"r": 245,
"g": 212,
"b": 98
},
"hsl": {
"h": 46.531,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.87628,
"c": 0.13722,
"h": 93.2
},
"luminance": 0.67381
}Semantic roles & 50–950 ramp
primary
#F5D462
secondary
#3053CB
accent
#34E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F