#F6DE6B#F6DE6B
#F6DE6B is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.8% C 0.137 H 97.7°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F6DE6B |
|---|---|
| RGB | rgb(246, 222, 107) |
| HSL | hsl(50, 89%, 69%) |
| HSV | hsv(50, 57%, 96%) |
| CMYK | cmyk(0%, 9.8%, 56.5%, 3.5%) |
| CIE-LAB | lab(88.40, -5.49, 58.42) |
| CIE-LCH | lch(88.40, 58.68, 95.37°) |
| OKLab | oklab(89.81% -0.0184 0.136) |
| OKLCH | oklch(89.81% 0.137 97.7) |
| XYZ | xyz(66.7837, 72.8998, 24.4603) |
| Luminance | 0.7290 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.38
Yellow Tan
#FFE36E
ΔE00 1.62
Pale Gold
#FDDE6C
ΔE00 1.91
Dull Yellow
#EEDC5B
ΔE00 2.41
Sandy
#F1DA7A
ΔE00 2.67
Light Gold
#FDDC5C
ΔE00 2.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6DE6B #6B83F6
analogous
#F6996B #F6DE6B #C9F66B
triadic
#F6DE6B #6BF6DE #DE6BF6
tetradic
#F6DE6B #6BF699 #6B83F6 #F66BC9
square
#F6DE6B #6BF699 #6B83F6 #F66BC9
split-complementary
#F6DE6B #6BC9F6 #996BF6
monochromatic
#D9B60D #F2D131 #F6DE6B #FAEBA5 #FDF8DE
Accessibility & contrast
On white
1.35
#F6DE6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.58
#F6DE6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6DE6B
15.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6DE6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6DE6B | 1.00 | 1.35 | 15.58 | 15.58 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D960
Deuteranopia (green-blind)
#F7E170
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f6de6b; /* rgb */ color: rgb(246, 222, 107); /* oklch */ color: oklch(89.8% 0.137 97.7);
Tailwind
colors: {
custom: {
50: '#fce899',
500: '#f6de6b',
950: '#000000',
},
}SCSS
$custom: #f6de6b; $custom-light: #fce899; $custom-dark: #000000;
JSON
{
"hex": "#f6de6b",
"rgb": {
"r": 246,
"g": 222,
"b": 107
},
"hsl": {
"h": 49.64,
"s": 88.535,
"l": 69.216
},
"oklch": {
"l": 0.89814,
"c": 0.1372,
"h": 97.7
},
"luminance": 0.72897
}Semantic roles & 50–950 ramp
primary
#F6DE6B
secondary
#3650D0
accent
#28E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F