#F7E981#F7E981
#F7E981 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.4% C 0.126 H 101.7°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E981 |
|---|---|
| RGB | rgb(247, 233, 129) |
| HSL | hsl(53, 88%, 74%) |
| HSV | hsv(53, 48%, 97%) |
| CMYK | cmyk(0%, 5.7%, 47.8%, 3.1%) |
| CIE-LAB | lab(91.52, -8.81, 51.90) |
| CIE-LCH | lch(91.52, 52.64, 99.63°) |
| OKLab | oklab(92.39% -0.0256 0.1238) |
| OKLCH | oklch(92.39% 0.126 101.7) |
| XYZ | xyz(71.4611, 79.6393, 32.3723) |
| Luminance | 0.7964 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.42
Sandy Yellow
#FDEE73
ΔE00 2.61
Dark Cream
#FFF39A
ΔE00 3.22
Yellowish
#FAEE66
ΔE00 3.94
Straw
#FCF679
ΔE00 3.94
Sandy
#F1DA7A
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E981 #818FF7
analogous
#F7AE81 #F7E981 #CAF781
triadic
#F7E981 #81F7E9 #E981F7
tetradic
#F7E981 #81F7AE #818FF7 #F781CA
square
#F7E981 #81F7AE #818FF7 #F781CA
split-complementary
#F7E981 #81CAF7 #AE81F7
monochromatic
#EED40F #F3DF47 #F7E981 #FBF3BB #FDFAE2
Accessibility & contrast
On white
1.24
#F7E981 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.93
#F7E981 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E981
16.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E981 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E981 | 1.00 | 1.24 | 16.93 | 16.93 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE378
Deuteranopia (green-blind)
#FEEA86
Tritanopia (blue-blind)
#FFDCD1
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #f7e981; /* rgb */ color: rgb(247, 233, 129); /* oklch */ color: oklch(92.4% 0.126 101.7);
Tailwind
colors: {
custom: {
50: '#fcefa7',
500: '#f7e981',
950: '#000000',
},
}SCSS
$custom: #f7e981; $custom-light: #fcefa7; $custom-dark: #000000;
JSON
{
"hex": "#f7e981",
"rgb": {
"r": 247,
"g": 233,
"b": 129
},
"hsl": {
"h": 52.881,
"s": 88.06,
"l": 73.725
},
"oklch": {
"l": 0.92388,
"c": 0.12642,
"h": 101.7
},
"luminance": 0.79637
}Semantic roles & 50–950 ramp
primary
#F7E981
secondary
#4959D4
accent
#1CE501
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580