#F7DC6B#F7DC6B
#F7DC6B is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.5% C 0.136 H 96.1°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).
Color values
| HEX | #F7DC6B |
|---|---|
| RGB | rgb(247, 220, 107) |
| HSL | hsl(48, 90%, 69%) |
| HSV | hsv(48, 57%, 97%) |
| CMYK | cmyk(0%, 10.9%, 56.7%, 3.1%) |
| CIE-LAB | lab(87.98, -4.07, 57.96) |
| CIE-LCH | lch(87.98, 58.10, 94.02°) |
| OKLab | oklab(89.5% -0.0143 0.135) |
| OKLCH | oklch(89.5% 0.136 96.1) |
| XYZ | xyz(66.6074, 72.0251, 24.3008) |
| Luminance | 0.7202 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 1.21
Sand Yellow
#FCE166
ΔE00 1.59
Yellow Tan
#FFE36E
ΔE00 1.64
Light Gold
#FDDC5C
ΔE00 2.22
Light Mustard
#F7D560
ΔE00 2.33
Sandy
#F1DA7A
ΔE00 2.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7DC6B #6B86F7
analogous
#F7966B #F7DC6B #CCF76B
triadic
#F7DC6B #6BF7DC #DC6BF7
tetradic
#F7DC6B #6BF796 #6B86F7 #F76BCC
square
#F7DC6B #6BF796 #6B86F7 #F76BCC
split-complementary
#F7DC6B #6BCCF7 #966BF7
monochromatic
#DCB40C #F4CE31 #F7DC6B #FAEAA5 #FDF7DF
Accessibility & contrast
On white
1.36
#F7DC6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.40
#F7DC6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7DC6B
15.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7DC6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7DC6B | 1.00 | 1.36 | 15.40 | 15.40 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD860
Deuteranopia (green-blind)
#F6E070
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f7dc6b; /* rgb */ color: rgb(247, 220, 107); /* oklch */ color: oklch(89.5% 0.136 96.1);
Tailwind
colors: {
custom: {
50: '#fde699',
500: '#f7dc6b',
950: '#000000',
},
}SCSS
$custom: #f7dc6b; $custom-light: #fde699; $custom-dark: #000000;
JSON
{
"hex": "#f7dc6b",
"rgb": {
"r": 247,
"g": 220,
"b": 107
},
"hsl": {
"h": 48.429,
"s": 89.744,
"l": 69.412
},
"oklch": {
"l": 0.89503,
"c": 0.13573,
"h": 96.1
},
"luminance": 0.72022
}Semantic roles & 50–950 ramp
primary
#F7DC6B
secondary
#3553D1
accent
#2CE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F