#F7E17C#F7E17C
#F7E17C is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.7% C 0.124 H 97.3°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E17C |
|---|---|
| RGB | rgb(247, 225, 124) |
| HSL | hsl(49, 88%, 73%) |
| HSV | hsv(49, 50%, 97%) |
| CMYK | cmyk(0%, 8.9%, 49.8%, 3.1%) |
| CIE-LAB | lab(89.43, -5.24, 51.74) |
| CIE-LCH | lch(89.43, 52.01, 95.78°) |
| OKLab | oklab(90.71% -0.0158 0.1231) |
| OKLCH | oklch(90.71% 0.124 97.3) |
| XYZ | xyz(68.9233, 75.0825, 29.9267) |
| Luminance | 0.7508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.68
Wheat (survey)
#FBDD7E
ΔE00 2.56
Yellow Tan
#FFE36E
ΔE00 2.57
Pale Gold
#FDDE6C
ΔE00 2.86
Sand Yellow
#FCE166
ΔE00 3.01
Khaki (CSS)
#F0E68C
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E17C #7C92F7
analogous
#F7A37C #F7E17C #D0F77C
triadic
#F7E17C #7CF7E1 #E17CF7
tetradic
#F7E17C #7CF7A3 #7C92F7 #F77CD0
square
#F7E17C #7CF7A3 #7C92F7 #F77CD0
split-complementary
#F7E17C #7CD0F7 #A37CF7
monochromatic
#EAC30E #F3D442 #F7E17C #FBEEB6 #FDF8E2
Accessibility & contrast
On white
1.31
#F7E17C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.02
#F7E17C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E17C
16.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E17C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E17C | 1.00 | 1.31 | 16.02 | 16.02 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DC73
Deuteranopia (green-blind)
#F9E480
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f7e17c; /* rgb */ color: rgb(247, 225, 124); /* oklch */ color: oklch(90.7% 0.124 97.3);
Tailwind
colors: {
custom: {
50: '#fceaa4',
500: '#f7e17c',
950: '#000000',
},
}SCSS
$custom: #f7e17c; $custom-light: #fceaa4; $custom-dark: #000000;
JSON
{
"hex": "#f7e17c",
"rgb": {
"r": 247,
"g": 225,
"b": 124
},
"hsl": {
"h": 49.268,
"s": 88.489,
"l": 72.745
},
"oklch": {
"l": 0.90712,
"c": 0.12407,
"h": 97.3
},
"luminance": 0.7508
}Semantic roles & 50–950 ramp
primary
#F7E17C
secondary
#445ED3
accent
#29E500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480