#F5D452#F5D452
#F5D452 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.5% C 0.149 H 94.8°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D452 |
|---|---|
| RGB | rgb(245, 212, 82) |
| HSL | hsl(48, 89%, 64%) |
| HSV | hsv(48, 67%, 96%) |
| CMYK | cmyk(0%, 13.5%, 66.5%, 3.9%) |
| CIE-LAB | lab(85.56, -2.44, 66.09) |
| CIE-LCH | lch(85.56, 66.14, 92.12°) |
| OKLab | oklab(87.48% -0.0124 0.149) |
| OKLCH | oklch(87.48% 0.15 94.8) |
| XYZ | xyz(62.7257, 67.1119, 17.6310) |
| Luminance | 0.6711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.37
Light Mustard
#F7D560
ΔE00 1.56
Light Gold
#FDDC5C
ΔE00 1.83
Pale Gold
#FDDE6C
ΔE00 2.94
Sand Yellow
#FCE166
ΔE00 3.24
Yellow Tan
#FFE36E
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D452 #5273F5
analogous
#F58352 #F5D452 #C4F552
triadic
#F5D452 #52F5D4 #D452F5
tetradic
#F5D452 #52F583 #5273F5 #F552C4
square
#F5D452 #52F583 #5273F5 #F552C4
split-complementary
#F5D452 #52C4F5 #8352F5
monochromatic
#C19D0B #F2C618 #F5D452 #F8E28C #FCF1C6
Accessibility & contrast
On white
1.46
#F5D452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.42
#F5D452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D452
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D452 | 1.00 | 1.46 | 14.42 | 14.42 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#F1DA59
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f5d452; /* rgb */ color: rgb(245, 212, 82); /* oklch */ color: oklch(87.5% 0.149 94.8);
Tailwind
colors: {
custom: {
50: '#fce089',
500: '#f5d452',
950: '#000000',
},
}SCSS
$custom: #f5d452; $custom-light: #fce089; $custom-dark: #000000;
JSON
{
"hex": "#f5d452",
"rgb": {
"r": 245,
"g": 212,
"b": 82
},
"hsl": {
"h": 47.853,
"s": 89.071,
"l": 64.118
},
"oklch": {
"l": 0.87476,
"c": 0.1495,
"h": 94.8
},
"luminance": 0.67109
}Semantic roles & 50–950 ramp
primary
#F5D452
secondary
#2C4ABF
accent
#2EE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F