#FDF762#FDF762
#FDF762 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.167 H 107.0°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF762 |
|---|---|
| RGB | rgb(253, 247, 98) |
| HSL | hsl(58, 97%, 69%) |
| HSV | hsv(58, 61%, 99%) |
| CMYK | cmyk(0%, 2.4%, 61.3%, 0.8%) |
| CIE-LAB | lab(95.28, -15.63, 70.07) |
| CIE-LCH | lch(95.28, 71.79, 102.58°) |
| OKLab | oklab(95.39% -0.0487 0.1595) |
| OKLCH | oklch(95.39% 0.167 107) |
| XYZ | xyz(75.9759, 88.2884, 24.5921) |
| Luminance | 0.8829 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.01
Butter Yellow
#FFFD74
ΔE00 2.04
Canary
#FDFF63
ΔE00 2.23
Custard
#FFFD78
ΔE00 2.38
Yellowish
#FAEE66
ΔE00 2.40
Straw
#FCF679
ΔE00 2.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF762 #6268FD
analogous
#FDAA62 #FDF762 #B6FD62
triadic
#FDF762 #62FDF7 #F762FD
tetradic
#FDF762 #62FDAA #6268FD #FD62B6
square
#FDF762 #62FDAA #6268FD #FD62B6
split-complementary
#FDF762 #62B6FD #AA62FD
monochromatic
#E2D903 #FCF426 #FDF762 #FEFA9E #FFFDDB
Accessibility & contrast
On white
1.13
#FDF762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.66
#FDF762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF762
18.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF762 | 1.00 | 1.13 | 18.66 | 18.66 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE50
Deuteranopia (green-blind)
#FFF46B
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #fdf762; /* rgb */ color: rgb(253, 247, 98); /* oklch */ color: oklch(95.4% 0.167 107.0);
Tailwind
colors: {
custom: {
50: '#fff995',
500: '#fdf762',
950: '#000000',
},
}SCSS
$custom: #fdf762; $custom-light: #fff995; $custom-dark: #000000;
JSON
{
"hex": "#fdf762",
"rgb": {
"r": 253,
"g": 247,
"b": 98
},
"hsl": {
"h": 57.677,
"s": 97.484,
"l": 68.824
},
"oklch": {
"l": 0.95394,
"c": 0.1668,
"h": 107
},
"luminance": 0.88286
}Semantic roles & 50–950 ramp
primary
#FDF762
secondary
#2C33D7
accent
#09E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F