#FFD54C#FFD54C
#FFD54C is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.6% C 0.156 H 91.5°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).
Color values
| HEX | #FFD54C |
|---|---|
| RGB | rgb(255, 213, 76) |
| HSL | hsl(46, 100%, 65%) |
| HSV | hsv(46, 70%, 100%) |
| CMYK | cmyk(0%, 16.5%, 70.2%, 0%) |
| CIE-LAB | lab(86.69, 0.90, 69.92) |
| CIE-LCH | lch(86.69, 69.93, 89.26°) |
| OKLab | oklab(88.57% -0.0041 0.1557) |
| OKLCH | oklch(88.57% 0.156 91.5) |
| XYZ | xyz(66.3424, 69.3742, 16.7323) |
| Luminance | 0.6937 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.27
Light Gold
#FDDC5C
ΔE00 2.71
Light Mustard
#F7D560
ΔE00 2.72
Pale Gold
#FDDE6C
ΔE00 3.92
Gold
#FFD700
ΔE00 4.12
Sunflower Yellow
#FFDA03
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFD54C #4C76FF
analogous
#FF7C4C #FFD54C #CFFF4C
triadic
#FFD54C #4CFFD5 #D54CFF
tetradic
#FFD54C #4CFF7C #4C76FF #FF4CCF
square
#FFD54C #4CFF7C #4C76FF #FF4CCF
split-complementary
#FFD54C #4CCFFF #7C4CFF
monochromatic
#D1A000 #FFC70F #FFD54C #FFE389 #FFF2C6
Accessibility & contrast
On white
1.41
#FFD54C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.87
#FFD54C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFD54C
14.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFD54C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFD54C | 1.00 | 1.41 | 14.87 | 14.87 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD238
Deuteranopia (green-blind)
#F6DE53
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #ffd54c; /* rgb */ color: rgb(255, 213, 76); /* oklch */ color: oklch(88.6% 0.156 91.5);
Tailwind
colors: {
custom: {
50: '#ffe186',
500: '#ffd54c',
950: '#000000',
},
}SCSS
$custom: #ffd54c; $custom-light: #ffe186; $custom-dark: #000000;
JSON
{
"hex": "#ffd54c",
"rgb": {
"r": 255,
"g": 213,
"b": 76
},
"hsl": {
"h": 45.922,
"s": 100,
"l": 64.902
},
"oklch": {
"l": 0.88568,
"c": 0.15579,
"h": 91.5
},
"luminance": 0.6937
}Semantic roles & 50–950 ramp
primary
#FFD54C
secondary
#244BCB
accent
#36E600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#19150C
muted
#87847F