#FDF77F#FDF77F
#FDF77F is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.7% C 0.142 H 106.2°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF77F |
|---|---|
| RGB | rgb(253, 247, 127) |
| HSL | hsl(57, 97%, 75%) |
| HSV | hsv(57, 50%, 99%) |
| CMYK | cmyk(0%, 2.4%, 49.8%, 0.8%) |
| CIE-LAB | lab(95.55, -13.52, 57.78) |
| CIE-LCH | lch(95.55, 59.35, 103.17°) |
| OKLab | oklab(95.7% -0.0397 0.1364) |
| OKLCH | oklch(95.7% 0.142 106.2) |
| XYZ | xyz(77.6015, 88.9387, 33.1536) |
| Luminance | 0.8894 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.66
Manilla
#FFFA86
ΔE00 0.86
Yellowish Tan
#FCFC81
ΔE00 1.64
Custard
#FFFD78
ΔE00 1.93
Pale Yellow
#FFFF84
ΔE00 2.00
Butter
#FFFF81
ΔE00 2.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF77F #7F85FD
analogous
#FDB87F #FDF77F #C4FD7F
triadic
#FDF77F #7FFDF7 #F77FFD
tetradic
#FDF77F #7FFDB8 #7F85FD #FD7FC4
square
#FDF77F #7FFDB8 #7F85FD #FD7FC4
split-complementary
#FDF77F #7FC4FD #B87FFD
monochromatic
#FBEF06 #FCF343 #FDF77F #FEFBBB #FFFDE1
Accessibility & contrast
On white
1.12
#FDF77F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.79
#FDF77F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF77F
18.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF77F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF77F | 1.00 | 1.12 | 18.79 | 18.79 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF585
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #fdf77f; /* rgb */ color: rgb(253, 247, 127); /* oklch */ color: oklch(95.7% 0.142 106.2);
Tailwind
colors: {
custom: {
50: '#fff9a7',
500: '#fdf77f',
950: '#000000',
},
}SCSS
$custom: #fdf77f; $custom-light: #fff9a7; $custom-dark: #000000;
JSON
{
"hex": "#fdf77f",
"rgb": {
"r": 253,
"g": 247,
"b": 127
},
"hsl": {
"h": 57.143,
"s": 96.923,
"l": 74.51
},
"oklch": {
"l": 0.95699,
"c": 0.1421,
"h": 106.2
},
"luminance": 0.88936
}Semantic roles & 50–950 ramp
primary
#FDF77F
secondary
#454CDB
accent
#0BE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580