#F5D757#F5D757
#F5D757 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.148 H 96.0°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D757 |
|---|---|
| RGB | rgb(245, 215, 87) |
| HSL | hsl(49, 89%, 65%) |
| HSV | hsv(49, 64%, 96%) |
| CMYK | cmyk(0%, 12.2%, 64.5%, 3.9%) |
| CIE-LAB | lab(86.36, -3.68, 64.87) |
| CIE-LCH | lch(86.36, 64.97, 93.25°) |
| OKLab | oklab(88.12% -0.0154 0.1472) |
| OKLCH | oklch(88.12% 0.148 96) |
| XYZ | xyz(63.6799, 68.7046, 18.9221) |
| Luminance | 0.6870 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 1.46
Light Mustard
#F7D560
ΔE00 1.78
Maize
#F4D054
ΔE00 2.22
Sand Yellow
#FCE166
ΔE00 2.36
Pale Gold
#FDDE6C
ΔE00 2.40
Yellow Tan
#FFE36E
ΔE00 2.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D757 #5775F5
analogous
#F58857 #F5D757 #C4F557
triadic
#F5D757 #57F5D7 #D757F5
tetradic
#F5D757 #57F588 #5775F5 #F557C4
square
#F5D757 #57F588 #5775F5 #F557C4
split-complementary
#F5D757 #57C4F5 #8857F5
monochromatic
#C6A20C #F2C91D #F5D757 #F8E591 #FCF3CB
Accessibility & contrast
On white
1.42
#F5D757 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.74
#F5D757 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D757
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D757 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D757 | 1.00 | 1.42 | 14.74 | 14.74 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD348
Deuteranopia (green-blind)
#F3DC5E
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f5d757; /* rgb */ color: rgb(245, 215, 87); /* oklch */ color: oklch(88.1% 0.148 96.0);
Tailwind
colors: {
custom: {
50: '#fce38c',
500: '#f5d757',
950: '#000000',
},
}SCSS
$custom: #f5d757; $custom-light: #fce38c; $custom-dark: #000000;
JSON
{
"hex": "#f5d757",
"rgb": {
"r": 245,
"g": 215,
"b": 87
},
"hsl": {
"h": 48.608,
"s": 88.764,
"l": 65.098
},
"oklch": {
"l": 0.88119,
"c": 0.14796,
"h": 96
},
"luminance": 0.68701
}Semantic roles & 50–950 ramp
primary
#F5D757
secondary
#2D4AC3
accent
#2CE500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F