#F5D460#F5D460
#F5D460 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.6% C 0.139 H 93.4°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D460 |
|---|---|
| RGB | rgb(245, 212, 96) |
| HSL | hsl(47, 88%, 67%) |
| HSV | hsv(47, 61%, 96%) |
| CMYK | cmyk(0%, 13.5%, 60.8%, 3.9%) |
| CIE-LAB | lab(85.68, -1.60, 60.26) |
| CIE-LCH | lch(85.68, 60.28, 91.52°) |
| OKLab | oklab(87.61% -0.0083 0.1386) |
| OKLCH | oklch(87.61% 0.139 93.4) |
| XYZ | xyz(63.3138, 67.3472, 20.7284) |
| Luminance | 0.6734 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.38
Maize
#F4D054
ΔE00 1.42
Light Gold
#FDDC5C
ΔE00 2.23
Pale Gold
#FDDE6C
ΔE00 2.28
Sand Yellow
#FCE166
ΔE00 3.29
Yellow Tan
#FFE36E
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D460 #6081F5
analogous
#F58960 #F5D460 #CCF560
triadic
#F5D460 #60F5D4 #D460F5
tetradic
#F5D460 #60F589 #6081F5 #F560CC
square
#F5D460 #60F589 #6081F5 #F560CC
split-complementary
#F5D460 #60CCF5 #8960F5
monochromatic
#CEA30D #F1C426 #F5D460 #F9E49A #FCF3D3
Accessibility & contrast
On white
1.45
#F5D460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.47
#F5D460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D460
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D460 | 1.00 | 1.45 | 14.47 | 14.47 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D054
Deuteranopia (green-blind)
#F0DA65
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f5d460; /* rgb */ color: rgb(245, 212, 96); /* oklch */ color: oklch(87.6% 0.139 93.4);
Tailwind
colors: {
custom: {
50: '#fce091',
500: '#f5d460',
950: '#000000',
},
}SCSS
$custom: #f5d460; $custom-light: #fce091; $custom-dark: #000000;
JSON
{
"hex": "#f5d460",
"rgb": {
"r": 245,
"g": 212,
"b": 96
},
"hsl": {
"h": 46.711,
"s": 88.166,
"l": 66.863
},
"oklch": {
"l": 0.87607,
"c": 0.13886,
"h": 93.4
},
"luminance": 0.67344
}Semantic roles & 50–950 ramp
primary
#F5D460
secondary
#3052C9
accent
#33E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F