#F7E374#F7E374
#F7E374 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 91.0% C 0.133 H 99.3°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E374 |
|---|---|
| RGB | rgb(247, 227, 116) |
| HSL | hsl(51, 89%, 71%) |
| HSV | hsv(51, 53%, 97%) |
| CMYK | cmyk(0%, 8.1%, 53%, 3.1%) |
| CIE-LAB | lab(89.85, -6.91, 56.00) |
| CIE-LCH | lch(89.85, 56.42, 97.03°) |
| OKLab | oklab(91.01% -0.0215 0.1317) |
| OKLCH | oklch(91.01% 0.133 99.3) |
| XYZ | xyz(68.9816, 75.9760, 27.5508) |
| Luminance | 0.7597 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 2.21
Sand Yellow
#FCE166
ΔE00 2.31
Dull Yellow
#EEDC5B
ΔE00 2.83
Sandy Yellow
#FDEE73
ΔE00 2.87
Sandy
#F1DA7A
ΔE00 2.88
Pale Gold
#FDDE6C
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E374 #7488F7
analogous
#F7A174 #F7E374 #C9F774
triadic
#F7E374 #74F7E3 #E374F7
tetradic
#F7E374 #74F7A1 #7488F7 #F774C9
square
#F7E374 #74F7A1 #7488F7 #F774C9
split-complementary
#F7E374 #74C9F7 #A174F7
monochromatic
#E4C30D #F4D73A #F7E374 #FAEFAE #FDF9E2
Accessibility & contrast
On white
1.30
#F7E374 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.19
#F7E374 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E374
16.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E374 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E374 | 1.00 | 1.30 | 16.19 | 16.19 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DE6A
Deuteranopia (green-blind)
#FBE579
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f7e374; /* rgb */ color: rgb(247, 227, 116); /* oklch */ color: oklch(91.0% 0.133 99.3);
Tailwind
colors: {
custom: {
50: '#fceb9f',
500: '#f7e374',
950: '#000000',
},
}SCSS
$custom: #f7e374; $custom-light: #fceb9f; $custom-dark: #000000;
JSON
{
"hex": "#f7e374",
"rgb": {
"r": 247,
"g": 227,
"b": 116
},
"hsl": {
"h": 50.84,
"s": 89.116,
"l": 71.176
},
"oklch": {
"l": 0.91012,
"c": 0.1334,
"h": 99.3
},
"luminance": 0.75973
}Semantic roles & 50–950 ramp
primary
#F7E374
secondary
#3D54D2
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480