#F7E172#F7E172
#F7E172 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.6% C 0.134 H 98.3°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E172 |
|---|---|
| RGB | rgb(247, 225, 114) |
| HSL | hsl(50, 89%, 71%) |
| HSV | hsv(50, 54%, 97%) |
| CMYK | cmyk(0%, 8.9%, 53.8%, 3.1%) |
| CIE-LAB | lab(89.32, -6.06, 56.30) |
| CIE-LCH | lch(89.32, 56.63, 96.15°) |
| OKLab | oklab(90.59% -0.0193 0.1321) |
| OKLCH | oklch(90.59% 0.134 98.3) |
| XYZ | xyz(68.3226, 74.8423, 26.7634) |
| Luminance | 0.7484 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 1.80
Sand Yellow
#FCE166
ΔE00 1.90
Pale Gold
#FDDE6C
ΔE00 2.44
Sandy
#F1DA7A
ΔE00 2.52
Dull Yellow
#EEDC5B
ΔE00 2.78
Wheat (survey)
#FBDD7E
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E172 #7288F7
analogous
#F79E72 #F7E172 #CAF772
triadic
#F7E172 #72F7E1 #E172F7
tetradic
#F7E172 #72F79E #7288F7 #F772CA
square
#F7E172 #72F79E #7288F7 #F772CA
split-complementary
#F7E172 #72CAF7 #9E72F7
monochromatic
#E2BF0D #F4D538 #F7E172 #FAEDAC #FDF9E2
Accessibility & contrast
On white
1.32
#F7E172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.97
#F7E172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E172
15.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E172 | 1.00 | 1.32 | 15.97 | 15.97 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DC68
Deuteranopia (green-blind)
#F9E477
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f7e172; /* rgb */ color: rgb(247, 225, 114); /* oklch */ color: oklch(90.6% 0.134 98.3);
Tailwind
colors: {
custom: {
50: '#fcea9d',
500: '#f7e172',
950: '#000000',
},
}SCSS
$custom: #f7e172; $custom-light: #fcea9d; $custom-dark: #000000;
JSON
{
"hex": "#f7e172",
"rgb": {
"r": 247,
"g": 225,
"b": 114
},
"hsl": {
"h": 50.075,
"s": 89.262,
"l": 70.784
},
"oklch": {
"l": 0.90586,
"c": 0.13352,
"h": 98.3
},
"luminance": 0.74839
}Semantic roles & 50–950 ramp
primary
#F7E172
secondary
#3B54D2
accent
#26E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F