#FFE45F#FFE45F
#FFE45F is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.7% C 0.153 H 97.8°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE45F |
|---|---|
| RGB | rgb(255, 228, 95) |
| HSL | hsl(50, 100%, 69%) |
| HSV | hsv(50, 63%, 100%) |
| CMYK | cmyk(0%, 10.6%, 62.7%, 0%) |
| CIE-LAB | lab(90.59, -5.64, 66.31) |
| CIE-LCH | lch(90.59, 66.55, 94.86°) |
| OKLab | oklab(91.7% -0.0207 0.1511) |
| OKLCH | oklch(91.7% 0.153 97.8) |
| XYZ | xyz(71.0520, 77.5763, 22.0554) |
| Luminance | 0.7757 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.25
Yellow Tan
#FFE36E
ΔE00 1.86
Light Gold
#FDDC5C
ΔE00 2.30
Pale Gold
#FDDE6C
ΔE00 2.74
Dull Yellow
#EEDC5B
ΔE00 3.11
Banana
#FFE135
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE45F #5F7AFF
analogous
#FF945F #FFE45F #CAFF5F
triadic
#FFE45F #5FFFE4 #E45FFF
tetradic
#FFE45F #5FFF94 #5F7AFF #FF5FCA
square
#FFE45F #5FFF94 #5F7AFF #FF5FCA
split-complementary
#FFE45F #5FCAFF #945FFF
monochromatic
#E4BD00 #FFDA22 #FFE45F #FFEE9C #FFF9D9
Accessibility & contrast
On white
1.27
#FFE45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.51
#FFE45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE45F
16.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE45F | 1.00 | 1.27 | 16.51 | 16.51 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9DF4F
Deuteranopia (green-blind)
#FFE866
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #ffe45f; /* rgb */ color: rgb(255, 228, 95); /* oklch */ color: oklch(91.7% 0.153 97.8);
Tailwind
colors: {
custom: {
50: '#ffec92',
500: '#ffe45f',
950: '#000000',
},
}SCSS
$custom: #ffe45f; $custom-light: #ffec92; $custom-dark: #000000;
JSON
{
"hex": "#ffe45f",
"rgb": {
"r": 255,
"g": 228,
"b": 95
},
"hsl": {
"h": 49.875,
"s": 100,
"l": 68.627
},
"oklch": {
"l": 0.91695,
"c": 0.15251,
"h": 97.8
},
"luminance": 0.77573
}Semantic roles & 50–950 ramp
primary
#FFE45F
secondary
#2947D9
accent
#27E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160D
muted
#87847F