#F6E477#F6E477
#F6E477 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.2% C 0.131 H 100.1°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).
Color values
| HEX | #F6E477 |
|---|---|
| RGB | rgb(246, 228, 119) |
| HSL | hsl(51, 88%, 72%) |
| HSV | hsv(51, 52%, 96%) |
| CMYK | cmyk(0%, 7.3%, 51.6%, 3.5%) |
| CIE-LAB | lab(90.05, -7.57, 54.82) |
| CIE-LCH | lch(90.05, 55.34, 97.86°) |
| OKLab | oklab(91.16% -0.023 0.1294) |
| OKLCH | oklch(91.16% 0.131 100.1) |
| XYZ | xyz(69.0814, 76.4141, 28.5597) |
| Luminance | 0.7641 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.70
Yellow Tan
#FFE36E
ΔE00 2.78
Sand Yellow
#FCE166
ΔE00 2.90
Sandy
#F1DA7A
ΔE00 3.02
Dull Yellow
#EEDC5B
ΔE00 3.10
Khaki (CSS)
#F0E68C
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6E477 #7789F6
analogous
#F6A577 #F6E477 #C9F677
triadic
#F6E477 #77F6E4 #E477F6
tetradic
#F6E477 #77F6A5 #7789F6 #F677C9
square
#F6E477 #77F6A5 #7789F6 #F677C9
split-complementary
#F6E477 #77C9F6 #A577F6
monochromatic
#E4C50F #F2D93E #F6E477 #FAEFB0 #FDF9E2
Accessibility & contrast
On white
1.29
#F6E477 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.28
#F6E477 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6E477
16.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6E477 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6E477 | 1.00 | 1.29 | 16.28 | 16.28 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DE6D
Deuteranopia (green-blind)
#FBE67C
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f6e477; /* rgb */ color: rgb(246, 228, 119); /* oklch */ color: oklch(91.2% 0.131 100.1);
Tailwind
colors: {
custom: {
50: '#fbeca1',
500: '#f6e477',
950: '#000000',
},
}SCSS
$custom: #f6e477; $custom-light: #fbeca1; $custom-dark: #000000;
JSON
{
"hex": "#f6e477",
"rgb": {
"r": 246,
"g": 228,
"b": 119
},
"hsl": {
"h": 51.496,
"s": 87.586,
"l": 71.569
},
"oklch": {
"l": 0.91164,
"c": 0.13142,
"h": 100.1
},
"luminance": 0.76412
}Semantic roles & 50–950 ramp
primary
#F6E477
secondary
#4055D1
accent
#21E401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480