#FFD548#FFD548
#FFD548 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.5% C 0.158 H 91.8°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).
Color values
| HEX | #FFD548 |
|---|---|
| RGB | rgb(255, 213, 72) |
| HSL | hsl(46, 100%, 64%) |
| HSV | hsv(46, 72%, 100%) |
| CMYK | cmyk(0%, 16.5%, 71.8%, 0%) |
| CIE-LAB | lab(86.66, 0.72, 71.41) |
| CIE-LCH | lch(86.66, 71.42, 89.42°) |
| OKLab | oklab(88.54% -0.005 0.1582) |
| OKLCH | oklch(88.54% 0.158 91.8) |
| XYZ | xyz(66.2076, 69.3203, 16.0226) |
| Luminance | 0.6932 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.46
Light Gold
#FDDC5C
ΔE00 2.81
Light Mustard
#F7D560
ΔE00 2.98
Gold
#FFD700
ΔE00 3.74
Pale Gold
#FDDE6C
ΔE00 4.14
Sunflower Yellow
#FFDA03
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFD548 #4872FF
analogous
#FF7A48 #FFD548 #CDFF48
triadic
#FFD548 #48FFD5 #D548FF
tetradic
#FFD548 #48FF7A #4872FF #FF48CD
square
#FFD548 #48FF7A #4872FF #FF48CD
split-complementary
#FFD548 #48CDFF #7A48FF
monochromatic
#CD9E00 #FFC70B #FFD548 #FFE385 #FFF1C2
Accessibility & contrast
On white
1.41
#FFD548 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.86
#FFD548 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFD548
14.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFD548 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFD548 | 1.00 | 1.41 | 14.86 | 14.86 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD232
Deuteranopia (green-blind)
#F6DE50
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #ffd548; /* rgb */ color: rgb(255, 213, 72); /* oklch */ color: oklch(88.5% 0.158 91.8);
Tailwind
colors: {
custom: {
50: '#ffe183',
500: '#ffd548',
950: '#000000',
},
}SCSS
$custom: #ffd548; $custom-light: #ffe183; $custom-dark: #000000;
JSON
{
"hex": "#ffd548",
"rgb": {
"r": 255,
"g": 213,
"b": 72
},
"hsl": {
"h": 46.23,
"s": 100,
"l": 64.118
},
"oklch": {
"l": 0.88538,
"c": 0.15826,
"h": 91.8
},
"luminance": 0.69316
}Semantic roles & 50–950 ramp
primary
#FFD548
secondary
#2349C8
accent
#35E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150B
muted
#87847E