#F6DF6A#F6DF6A
#F6DF6A is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.139 H 98.3°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).
Color values
| HEX | #F6DF6A |
|---|---|
| RGB | rgb(246, 223, 106) |
| HSL | hsl(50, 89%, 69%) |
| HSV | hsv(50, 57%, 96%) |
| CMYK | cmyk(0%, 9.3%, 56.9%, 3.5%) |
| CIE-LAB | lab(88.64, -6.07, 59.15) |
| CIE-LCH | lch(88.64, 59.46, 95.86°) |
| OKLab | oklab(90% -0.0201 0.1374) |
| OKLCH | oklch(90% 0.139 98.3) |
| XYZ | xyz(66.9978, 73.4116, 24.2737) |
| Luminance | 0.7341 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.34
Yellow Tan
#FFE36E
ΔE00 1.69
Dull Yellow
#EEDC5B
ΔE00 2.13
Pale Gold
#FDDE6C
ΔE00 2.21
Light Gold
#FDDC5C
ΔE00 2.84
Sandy
#F1DA7A
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6DF6A #6A81F6
analogous
#F6996A #F6DF6A #C7F66A
triadic
#F6DF6A #6AF6DF #DF6AF6
tetradic
#F6DF6A #6AF699 #6A81F6 #F66AC7
square
#F6DF6A #6AF699 #6A81F6 #F66AC7
split-complementary
#F6DF6A #6AC7F6 #996AF6
monochromatic
#D9B70D #F3D330 #F6DF6A #F9EBA4 #FDF8DD
Accessibility & contrast
On white
1.34
#F6DF6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.68
#F6DF6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6DF6A
15.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6DF6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6DF6A | 1.00 | 1.34 | 15.68 | 15.68 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DA5E
Deuteranopia (green-blind)
#F8E26F
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f6df6a; /* rgb */ color: rgb(246, 223, 106); /* oklch */ color: oklch(90.0% 0.139 98.3);
Tailwind
colors: {
custom: {
50: '#fce898',
500: '#f6df6a',
950: '#000000',
},
}SCSS
$custom: #f6df6a; $custom-light: #fce898; $custom-dark: #000000;
JSON
{
"hex": "#f6df6a",
"rgb": {
"r": 246,
"g": 223,
"b": 106
},
"hsl": {
"h": 50.143,
"s": 88.608,
"l": 69.02
},
"oklch": {
"l": 0.90004,
"c": 0.1389,
"h": 98.3
},
"luminance": 0.73409
}Semantic roles & 50–950 ramp
primary
#F6DF6A
secondary
#354ED0
accent
#26E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F