#F7F274#F7F274
#F7F274 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.1% C 0.148 H 106.8°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).
Color values
| HEX | #F7F274 |
|---|---|
| RGB | rgb(247, 242, 116) |
| HSL | hsl(58, 89%, 71%) |
| HSV | hsv(58, 53%, 97%) |
| CMYK | cmyk(0%, 2%, 53%, 3.1%) |
| CIE-LAB | lab(93.69, -14.34, 60.46) |
| CIE-LCH | lch(93.69, 62.14, 103.34°) |
| OKLab | oklab(94.06% -0.0428 0.1413) |
| OKLCH | oklch(94.06% 0.148 106.8) |
| XYZ | xyz(73.2643, 84.5415, 28.9784) |
| Luminance | 0.8454 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.91
Manilla
#FFFA86
ΔE00 2.15
Yellowish
#FAEE66
ΔE00 2.25
Custard
#FFFD78
ΔE00 2.31
Yellowish Tan
#FCFC81
ΔE00 2.33
Butter Yellow
#FFFD74
ΔE00 2.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7F274 #7479F7
analogous
#F7B074 #F7F274 #BAF774
triadic
#F7F274 #74F7F2 #F274F7
tetradic
#F7F274 #74F7B0 #7479F7 #F774BA
square
#F7F274 #74F7B0 #7479F7 #F774BA
split-complementary
#F7F274 #74BAF7 #B074F7
monochromatic
#E4DB0D #F4ED3A #F7F274 #FAF7AE #FDFCE2
Accessibility & contrast
On white
1.17
#F7F274 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.91
#F7F274 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7F274
17.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7F274 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7F274 | 1.00 | 1.17 | 17.91 | 17.91 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA68
Deuteranopia (green-blind)
#FFEF7B
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f7f274; /* rgb */ color: rgb(247, 242, 116); /* oklch */ color: oklch(94.1% 0.148 106.8);
Tailwind
colors: {
custom: {
50: '#fcf69f',
500: '#f7f274',
950: '#000000',
},
}SCSS
$custom: #f7f274; $custom-light: #fcf69f; $custom-dark: #000000;
JSON
{
"hex": "#f7f274",
"rgb": {
"r": 247,
"g": 242,
"b": 116
},
"hsl": {
"h": 57.71,
"s": 89.116,
"l": 71.176
},
"oklch": {
"l": 0.9406,
"c": 0.14766,
"h": 106.8
},
"luminance": 0.84539
}Semantic roles & 50–950 ramp
primary
#F7F274
secondary
#3D43D2
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580