#F7DE6B#F7DE6B
#F7DE6B is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.9% C 0.137 H 97.2°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F7DE6B |
|---|---|
| RGB | rgb(247, 222, 107) |
| HSL | hsl(49, 90%, 69%) |
| HSV | hsv(49, 57%, 97%) |
| CMYK | cmyk(0%, 10.1%, 56.7%, 3.1%) |
| CIE-LAB | lab(88.49, -5.08, 58.54) |
| CIE-LCH | lch(88.49, 58.76, 94.96°) |
| OKLab | oklab(89.9% -0.0173 0.1362) |
| OKLCH | oklch(89.9% 0.137 97.2) |
| XYZ | xyz(67.1355, 73.0812, 24.4768) |
| Luminance | 0.7308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.25
Yellow Tan
#FFE36E
ΔE00 1.44
Pale Gold
#FDDE6C
ΔE00 1.64
Light Gold
#FDDC5C
ΔE00 2.47
Dull Yellow
#EEDC5B
ΔE00 2.61
Sandy
#F1DA7A
ΔE00 2.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7DE6B #6B84F7
analogous
#F7986B #F7DE6B #CAF76B
triadic
#F7DE6B #6BF7DE #DE6BF7
tetradic
#F7DE6B #6BF798 #6B84F7 #F76BCA
square
#F7DE6B #6BF798 #6B84F7 #F76BCA
split-complementary
#F7DE6B #6BCAF7 #986BF7
monochromatic
#DCB70C #F4D131 #F7DE6B #FAEBA5 #FDF8DF
Accessibility & contrast
On white
1.34
#F7DE6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.62
#F7DE6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7DE6B
15.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7DE6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7DE6B | 1.00 | 1.34 | 15.62 | 15.62 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D960
Deuteranopia (green-blind)
#F8E270
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f7de6b; /* rgb */ color: rgb(247, 222, 107); /* oklch */ color: oklch(89.9% 0.137 97.2);
Tailwind
colors: {
custom: {
50: '#fde899',
500: '#f7de6b',
950: '#000000',
},
}SCSS
$custom: #f7de6b; $custom-light: #fde899; $custom-dark: #000000;
JSON
{
"hex": "#f7de6b",
"rgb": {
"r": 247,
"g": 222,
"b": 107
},
"hsl": {
"h": 49.286,
"s": 89.744,
"l": 69.412
},
"oklch": {
"l": 0.89903,
"c": 0.13731,
"h": 97.2
},
"luminance": 0.73078
}Semantic roles & 50–950 ramp
primary
#F7DE6B
secondary
#3551D1
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F