#F7E274#F7E274
#F7E274 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.133 H 98.7°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E274 |
|---|---|
| RGB | rgb(247, 226, 116) |
| HSL | hsl(50, 89%, 71%) |
| HSV | hsv(50, 53%, 97%) |
| CMYK | cmyk(0%, 8.5%, 53%, 3.1%) |
| CIE-LAB | lab(89.59, -6.41, 55.70) |
| CIE-LCH | lch(89.59, 56.07, 96.56°) |
| OKLab | oklab(90.81% -0.0201 0.131) |
| OKLCH | oklch(90.81% 0.133 98.7) |
| XYZ | xyz(68.7089, 75.4305, 27.4599) |
| Luminance | 0.7543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 2.03
Sand Yellow
#FCE166
ΔE00 2.17
Sandy
#F1DA7A
ΔE00 2.59
Pale Gold
#FDDE6C
ΔE00 2.74
Dull Yellow
#EEDC5B
ΔE00 2.89
Sandy Yellow
#FDEE73
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E274 #7489F7
analogous
#F7A074 #F7E274 #CAF774
triadic
#F7E274 #74F7E2 #E274F7
tetradic
#F7E274 #74F7A0 #7489F7 #F774CA
square
#F7E274 #74F7A0 #7489F7 #F774CA
split-complementary
#F7E274 #74CAF7 #A074F7
monochromatic
#E4C10D #F4D63A #F7E274 #FAEEAE #FDF9E2
Accessibility & contrast
On white
1.31
#F7E274 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.09
#F7E274 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E274
16.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E274 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E274 | 1.00 | 1.31 | 16.09 | 16.09 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DD6A
Deuteranopia (green-blind)
#FAE579
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f7e274; /* rgb */ color: rgb(247, 226, 116); /* oklch */ color: oklch(90.8% 0.133 98.7);
Tailwind
colors: {
custom: {
50: '#fcea9f',
500: '#f7e274',
950: '#000000',
},
}SCSS
$custom: #f7e274; $custom-light: #fcea9f; $custom-dark: #000000;
JSON
{
"hex": "#f7e274",
"rgb": {
"r": 247,
"g": 226,
"b": 116
},
"hsl": {
"h": 50.382,
"s": 89.116,
"l": 71.176
},
"oklch": {
"l": 0.90811,
"c": 0.13253,
"h": 98.7
},
"luminance": 0.75428
}Semantic roles & 50–950 ramp
primary
#F7E274
secondary
#3D55D2
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480