#F7DF6C#F7DF6C
#F7DF6C is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.1% C 0.137 H 97.7°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F7DF6C |
|---|---|
| RGB | rgb(247, 223, 108) |
| HSL | hsl(50, 90%, 70%) |
| HSV | hsv(50, 56%, 97%) |
| CMYK | cmyk(0%, 9.7%, 56.3%, 3.1%) |
| CIE-LAB | lab(88.75, -5.51, 58.39) |
| CIE-LCH | lch(88.75, 58.65, 95.40°) |
| OKLab | oklab(90.12% -0.0184 0.136) |
| OKLCH | oklch(90.12% 0.137 97.7) |
| XYZ | xyz(67.4548, 73.6351, 24.8443) |
| Luminance | 0.7363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.28
Yellow Tan
#FFE36E
ΔE00 1.46
Pale Gold
#FDDE6C
ΔE00 1.89
Dull Yellow
#EEDC5B
ΔE00 2.49
Light Gold
#FDDC5C
ΔE00 2.72
Sandy
#F1DA7A
ΔE00 2.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7DF6C #6C84F7
analogous
#F7996C #F7DF6C #CAF76C
triadic
#F7DF6C #6CF7DF #DF6CF7
tetradic
#F7DF6C #6CF799 #6C84F7 #F76CCA
square
#F7DF6C #6CF799 #6C84F7 #F76CCA
split-complementary
#F7DF6C #6CCAF7 #996CF7
monochromatic
#DDB90C #F4D232 #F7DF6C #FAECA6 #FDF8E0
Accessibility & contrast
On white
1.34
#F7DF6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.73
#F7DF6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7DF6C
15.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7DF6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7DF6C | 1.00 | 1.34 | 15.73 | 15.73 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DA61
Deuteranopia (green-blind)
#F8E271
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f7df6c; /* rgb */ color: rgb(247, 223, 108); /* oklch */ color: oklch(90.1% 0.137 97.7);
Tailwind
colors: {
custom: {
50: '#fde899',
500: '#f7df6c',
950: '#000000',
},
}SCSS
$custom: #f7df6c; $custom-light: #fde899; $custom-dark: #000000;
JSON
{
"hex": "#f7df6c",
"rgb": {
"r": 247,
"g": 223,
"b": 108
},
"hsl": {
"h": 49.64,
"s": 89.677,
"l": 69.608
},
"oklch": {
"l": 0.90115,
"c": 0.13724,
"h": 97.7
},
"luminance": 0.73632
}Semantic roles & 50–950 ramp
primary
#F7DF6C
secondary
#3651D1
accent
#28E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F