#F7D754#F7D754
#F7D754 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.3% C 0.150 H 95.3°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F7D754 |
|---|---|
| RGB | rgb(247, 215, 84) |
| HSL | hsl(48, 91%, 65%) |
| HSV | hsv(48, 66%, 97%) |
| CMYK | cmyk(0%, 13%, 66%, 3.1%) |
| CIE-LAB | lab(86.51, -3.03, 66.33) |
| CIE-LCH | lch(86.51, 66.40, 92.61°) |
| OKLab | oklab(88.28% -0.014 0.1497) |
| OKLCH | oklch(88.28% 0.15 95.3) |
| XYZ | xyz(64.2615, 69.0184, 18.3228) |
| Luminance | 0.6902 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 1.25
Light Mustard
#F7D560
ΔE00 1.76
Maize
#F4D054
ΔE00 2.02
Pale Gold
#FDDE6C
ΔE00 2.54
Sand Yellow
#FCE166
ΔE00 2.60
Yellow Tan
#FFE36E
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7D754 #5474F7
analogous
#F78654 #F7D754 #C5F754
triadic
#F7D754 #54F7D7 #D754F7
tetradic
#F7D754 #54F786 #5474F7 #F754C5
square
#F7D754 #54F786 #5474F7 #F754C5
split-complementary
#F7D754 #54C5F7 #8654F7
monochromatic
#C7A209 #F4C91A #F7D754 #FAE58E #FCF2C9
Accessibility & contrast
On white
1.42
#F7D754 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.80
#F7D754 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7D754
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7D754 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7D754 | 1.00 | 1.42 | 14.80 | 14.80 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD343
Deuteranopia (green-blind)
#F4DD5B
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f7d754; /* rgb */ color: rgb(247, 215, 84); /* oklch */ color: oklch(88.3% 0.150 95.3);
Tailwind
colors: {
custom: {
50: '#fee38a',
500: '#f7d754',
950: '#000000',
},
}SCSS
$custom: #f7d754; $custom-light: #fee38a; $custom-dark: #000000;
JSON
{
"hex": "#f7d754",
"rgb": {
"r": 247,
"g": 215,
"b": 84
},
"hsl": {
"h": 48.221,
"s": 91.061,
"l": 64.902
},
"oklch": {
"l": 0.88276,
"c": 0.15038,
"h": 95.3
},
"luminance": 0.69015
}Semantic roles & 50–950 ramp
primary
#F7D754
secondary
#2B49C4
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F