#F5E175#F5E175
#F5E175 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.4% C 0.131 H 99.0°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).
Color values
| HEX | #F5E175 |
|---|---|
| RGB | rgb(245, 225, 117) |
| HSL | hsl(51, 86%, 71%) |
| HSV | hsv(51, 52%, 96%) |
| CMYK | cmyk(0%, 8.2%, 52.2%, 3.9%) |
| CIE-LAB | lab(89.18, -6.63, 54.70) |
| CIE-LCH | lch(89.18, 55.11, 96.91°) |
| OKLab | oklab(90.45% -0.0205 0.129) |
| OKLCH | oklch(90.45% 0.131 99) |
| XYZ | xyz(67.7945, 74.5499, 27.6447) |
| Luminance | 0.7455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.35
Yellow Tan
#FFE36E
ΔE00 2.42
Sand Yellow
#FCE166
ΔE00 2.54
Dull Yellow
#EEDC5B
ΔE00 2.92
Pale Gold
#FDDE6C
ΔE00 3.00
Sandy Yellow
#FDEE73
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5E175 #7589F5
analogous
#F5A175 #F5E175 #C9F575
triadic
#F5E175 #75F5E1 #E175F5
tetradic
#F5E175 #75F5A1 #7589F5 #F575C9
square
#F5E175 #75F5A1 #7589F5 #F575C9
split-complementary
#F5E175 #75C9F5 #A175F5
monochromatic
#DFBF10 #F1D53C #F5E175 #F9EDAE #FDF9E2
Accessibility & contrast
On white
1.32
#F5E175 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.91
#F5E175 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5E175
15.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5E175 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5E175 | 1.00 | 1.32 | 15.91 | 15.91 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DC6B
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f5e175; /* rgb */ color: rgb(245, 225, 117); /* oklch */ color: oklch(90.4% 0.131 99.0);
Tailwind
colors: {
custom: {
50: '#fbea9f',
500: '#f5e175',
950: '#000000',
},
}SCSS
$custom: #f5e175; $custom-light: #fbea9f; $custom-dark: #000000;
JSON
{
"hex": "#f5e175",
"rgb": {
"r": 245,
"g": 225,
"b": 117
},
"hsl": {
"h": 50.625,
"s": 86.486,
"l": 70.98
},
"oklch": {
"l": 0.90447,
"c": 0.13058,
"h": 99
},
"luminance": 0.74547
}Semantic roles & 50–950 ramp
primary
#F5E175
secondary
#3F55D0
accent
#26E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480