#F7F286#F7F286
#F7F286 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.131 H 106.3°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).
Color values
| HEX | #F7F286 |
|---|---|
| RGB | rgb(247, 242, 134) |
| HSL | hsl(57, 88%, 75%) |
| HSV | hsv(57, 46%, 97%) |
| CMYK | cmyk(0%, 2%, 45.7%, 3.1%) |
| CIE-LAB | lab(93.88, -12.80, 52.40) |
| CIE-LCH | lch(93.88, 53.95, 103.73°) |
| OKLab | oklab(94.28% -0.0366 0.1253) |
| OKLCH | oklch(94.28% 0.131 106.3) |
| XYZ | xyz(74.4146, 85.0016, 35.0366) |
| Luminance | 0.8500 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 1.88
Straw
#FCF679
ΔE00 2.30
Yellowish Tan
#FCFC81
ΔE00 2.73
Pale Yellow
#FFFF84
ΔE00 3.15
Buff
#FEF69E
ΔE00 3.25
Butter
#FFFF81
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7F286 #868BF7
analogous
#F7BA86 #F7F286 #C4F786
triadic
#F7F286 #86F7F2 #F286F7
tetradic
#F7F286 #86F7BA #868BF7 #F786C4
square
#F7F286 #86F7BA #868BF7 #F786C4
split-complementary
#F7F286 #86C4F7 #BA86F7
monochromatic
#EFE613 #F3EC4D #F7F286 #FBF8BF #FDFCE2
Accessibility & contrast
On white
1.17
#F7F286 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.00
#F7F286 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7F286
18.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7F286 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7F286 | 1.00 | 1.17 | 18.00 | 18.00 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB7D
Deuteranopia (green-blind)
#FFF08B
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f7f286; /* rgb */ color: rgb(247, 242, 134); /* oklch */ color: oklch(94.3% 0.131 106.3);
Tailwind
colors: {
custom: {
50: '#fcf6ab',
500: '#f7f286',
950: '#000000',
},
}SCSS
$custom: #f7f286; $custom-light: #fcf6ab; $custom-dark: #000000;
JSON
{
"hex": "#f7f286",
"rgb": {
"r": 247,
"g": 242,
"b": 134
},
"hsl": {
"h": 57.345,
"s": 87.597,
"l": 74.706
},
"oklch": {
"l": 0.94282,
"c": 0.13052,
"h": 106.3
},
"luminance": 0.85
}Semantic roles & 50–950 ramp
primary
#F7F286
secondary
#4D53D4
accent
#0BE401
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581