#F7F27E#F7F27E
#F7F27E is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.138 H 106.6°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).
Color values
| HEX | #F7F27E |
|---|---|
| RGB | rgb(247, 242, 126) |
| HSL | hsl(58, 88%, 73%) |
| HSV | hsv(58, 49%, 97%) |
| CMYK | cmyk(0%, 2%, 49%, 3.1%) |
| CIE-LAB | lab(93.79, -13.52, 56.04) |
| CIE-LCH | lch(93.79, 57.64, 103.56°) |
| OKLab | oklab(94.18% -0.0394 0.1326) |
| OKLCH | oklch(94.18% 0.138 106.6) |
| XYZ | xyz(73.8776, 84.7868, 32.2084) |
| Luminance | 0.8478 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.39
Manilla
#FFFA86
ΔE00 1.65
Yellowish Tan
#FCFC81
ΔE00 2.28
Sandy Yellow
#FDEE73
ΔE00 2.77
Pale Yellow
#FFFF84
ΔE00 2.78
Custard
#FFFD78
ΔE00 2.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7F27E #7E83F7
analogous
#F7B57E #F7F27E #BFF77E
triadic
#F7F27E #7EF7F2 #F27EF7
tetradic
#F7F27E #7EF7B5 #7E83F7 #F77EBF
square
#F7F27E #7EF7B5 #7E83F7 #F77EBF
split-complementary
#F7F27E #7EBFF7 #B57EF7
monochromatic
#ECE30F #F3EC44 #F7F27E #FBF8B8 #FDFCE2
Accessibility & contrast
On white
1.17
#F7F27E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.96
#F7F27E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7F27E
17.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7F27E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7F27E | 1.00 | 1.17 | 17.96 | 17.96 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f7f27e; /* rgb */ color: rgb(247, 242, 126); /* oklch */ color: oklch(94.2% 0.138 106.6);
Tailwind
colors: {
custom: {
50: '#fcf6a6',
500: '#f7f27e',
950: '#000000',
},
}SCSS
$custom: #f7f27e; $custom-light: #fcf6a6; $custom-dark: #000000;
JSON
{
"hex": "#f7f27e",
"rgb": {
"r": 247,
"g": 242,
"b": 126
},
"hsl": {
"h": 57.521,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.94178,
"c": 0.13837,
"h": 106.6
},
"luminance": 0.84785
}Semantic roles & 50–950 ramp
primary
#F7F27E
secondary
#464CD3
accent
#0AE501
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580