#F6E173#F6E173
#F6E173 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.5% C 0.133 H 98.7°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).
Color values
| HEX | #F6E173 |
|---|---|
| RGB | rgb(246, 225, 115) |
| HSL | hsl(50, 88%, 71%) |
| HSV | hsv(50, 53%, 96%) |
| CMYK | cmyk(0%, 8.5%, 53.3%, 3.5%) |
| CIE-LAB | lab(89.24, -6.39, 55.73) |
| CIE-LCH | lch(89.24, 56.10, 96.54°) |
| OKLab | oklab(90.51% -0.02 0.131) |
| OKLCH | oklch(90.51% 0.133 98.7) |
| XYZ | xyz(68.0281, 74.6838, 27.0484) |
| Luminance | 0.7468 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 2.09
Sand Yellow
#FCE166
ΔE00 2.17
Sandy
#F1DA7A
ΔE00 2.47
Pale Gold
#FDDE6C
ΔE00 2.71
Dull Yellow
#EEDC5B
ΔE00 2.77
Sandy Yellow
#FDEE73
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6E173 #7388F6
analogous
#F69F73 #F6E173 #C9F673
triadic
#F6E173 #73F6E1 #E173F6
tetradic
#F6E173 #73F69F #7388F6 #F673C9
square
#F6E173 #73F69F #7388F6 #F673C9
split-complementary
#F6E173 #73C9F6 #9F73F6
monochromatic
#E0BF0E #F2D539 #F6E173 #FAEDAD #FDF9E2
Accessibility & contrast
On white
1.32
#F6E173 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.94
#F6E173 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6E173
15.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6E173 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6E173 | 1.00 | 1.32 | 15.94 | 15.94 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DC69
Deuteranopia (green-blind)
#F9E478
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f6e173; /* rgb */ color: rgb(246, 225, 115); /* oklch */ color: oklch(90.5% 0.133 98.7);
Tailwind
colors: {
custom: {
50: '#fcea9e',
500: '#f6e173',
950: '#000000',
},
}SCSS
$custom: #f6e173; $custom-light: #fcea9e; $custom-dark: #000000;
JSON
{
"hex": "#f6e173",
"rgb": {
"r": 246,
"g": 225,
"b": 115
},
"hsl": {
"h": 50.382,
"s": 87.919,
"l": 70.784
},
"oklch": {
"l": 0.9051,
"c": 0.13252,
"h": 98.7
},
"luminance": 0.74681
}Semantic roles & 50–950 ramp
primary
#F6E173
secondary
#3D54D1
accent
#25E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480