#F7E271#F7E271
#F7E271 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.135 H 99.0°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E271 |
|---|---|
| RGB | rgb(247, 226, 113) |
| HSL | hsl(51, 89%, 71%) |
| HSV | hsv(51, 54%, 97%) |
| CMYK | cmyk(0%, 8.5%, 54.3%, 3.1%) |
| CIE-LAB | lab(89.56, -6.64, 57.05) |
| CIE-LCH | lch(89.56, 57.43, 96.64°) |
| OKLab | oklab(90.78% -0.0211 0.1336) |
| OKLCH | oklch(90.78% 0.135 99) |
| XYZ | xyz(68.5372, 75.3619, 26.5557) |
| Luminance | 0.7536 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.93
Yellow Tan
#FFE36E
ΔE00 1.93
Dull Yellow
#EEDC5B
ΔE00 2.58
Pale Gold
#FDDE6C
ΔE00 2.72
Sandy
#F1DA7A
ΔE00 2.88
Sandy Yellow
#FDEE73
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E271 #7186F7
analogous
#F79F71 #F7E271 #C9F771
triadic
#F7E271 #71F7E2 #E271F7
tetradic
#F7E271 #71F79F #7186F7 #F771C9
square
#F7E271 #71F79F #7186F7 #F771C9
split-complementary
#F7E271 #71C9F7 #9F71F7
monochromatic
#E1C00D #F4D637 #F7E271 #FAEEAB #FDF9E2
Accessibility & contrast
On white
1.31
#F7E271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.07
#F7E271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E271
16.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E271 | 1.00 | 1.31 | 16.07 | 16.07 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DD66
Deuteranopia (green-blind)
#FAE576
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f7e271; /* rgb */ color: rgb(247, 226, 113); /* oklch */ color: oklch(90.8% 0.135 99.0);
Tailwind
colors: {
custom: {
50: '#fcea9d',
500: '#f7e271',
950: '#000000',
},
}SCSS
$custom: #f7e271; $custom-light: #fcea9d; $custom-dark: #000000;
JSON
{
"hex": "#f7e271",
"rgb": {
"r": 247,
"g": 226,
"b": 113
},
"hsl": {
"h": 50.597,
"s": 89.333,
"l": 70.588
},
"oklch": {
"l": 0.90775,
"c": 0.13528,
"h": 99
},
"luminance": 0.75359
}Semantic roles & 50–950 ramp
primary
#F7E271
secondary
#3A52D2
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F