#F6E772#F6E772
#F6E772 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.7% C 0.139 H 102.1°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F6E772 |
|---|---|
| RGB | rgb(246, 231, 114) |
| HSL | hsl(53, 88%, 71%) |
| HSV | hsv(53, 54%, 96%) |
| CMYK | cmyk(0%, 6.1%, 53.7%, 3.5%) |
| CIE-LAB | lab(90.76, -9.47, 57.96) |
| CIE-LCH | lch(90.76, 58.73, 99.27°) |
| OKLab | oklab(91.71% -0.029 0.1357) |
| OKLCH | oklch(91.71% 0.139 102.1) |
| XYZ | xyz(69.6214, 77.9620, 27.2972) |
| Luminance | 0.7796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.61
Yellowish
#FAEE66
ΔE00 2.56
Dull Yellow
#EEDC5B
ΔE00 2.92
Sand Yellow
#FCE166
ΔE00 3.33
Yellow Tan
#FFE36E
ΔE00 3.44
Straw
#FCF679
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6E772 #7281F6
analogous
#F6A572 #F6E772 #C3F672
triadic
#F6E772 #72F6E7 #E772F6
tetradic
#F6E772 #72F6A5 #7281F6 #F672C3
square
#F6E772 #72F6A5 #7281F6 #F672C3
split-complementary
#F6E772 #72C3F6 #A572F6
monochromatic
#DFC80E #F2DD38 #F6E772 #FAF1AC #FDFAE2
Accessibility & contrast
On white
1.27
#F6E772 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.59
#F6E772 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6E772
16.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6E772 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6E772 | 1.00 | 1.27 | 16.59 | 16.59 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E167
Deuteranopia (green-blind)
#FEE878
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f6e772; /* rgb */ color: rgb(246, 231, 114); /* oklch */ color: oklch(91.7% 0.139 102.1);
Tailwind
colors: {
custom: {
50: '#fcee9e',
500: '#f6e772',
950: '#000000',
},
}SCSS
$custom: #f6e772; $custom-light: #fcee9e; $custom-dark: #000000;
JSON
{
"hex": "#f6e772",
"rgb": {
"r": 246,
"g": 231,
"b": 114
},
"hsl": {
"h": 53.182,
"s": 88,
"l": 70.588
},
"oklch": {
"l": 0.91711,
"c": 0.1388,
"h": 102.1
},
"luminance": 0.7796
}Semantic roles & 50–950 ramp
primary
#F6E772
secondary
#3C4DD1
accent
#1BE501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480