#CABD48#CABD48
#CABD48 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.7% C 0.137 H 103.0°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CABD48 |
|---|---|
| RGB | rgb(202, 189, 72) |
| HSL | hsl(54, 55%, 54%) |
| HSV | hsv(54, 64%, 79%) |
| CMYK | cmyk(0%, 6.4%, 64.4%, 20.8%) |
| CIE-LAB | lab(75.71, -9.33, 58.73) |
| CIE-LCH | lch(75.71, 59.46, 99.03°) |
| OKLab | oklab(78.74% -0.0306 0.1331) |
| OKLCH | oklch(78.74% 0.137 103) |
| XYZ | xyz(43.7261, 49.4213, 13.3656) |
| Luminance | 0.4942 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.24
Puke Yellow
#C2BE0E
ΔE00 4.52
Vomit Yellow
#C7C10C
ΔE00 4.61
Mustard Yellow
#D2BD0A
ΔE00 4.81
Ugly Yellow
#D0C101
ΔE00 4.84
Dirty Yellow
#CDC50A
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CABD48 #4855CA
analogous
#CA7C48 #CABD48 #96CA48
triadic
#CABD48 #48CABD #BD48CA
tetradic
#CABD48 #48CA7C #4855CA #CA4896
square
#CABD48 #48CA7C #4855CA #CA4896
split-complementary
#CABD48 #4896CA #7C48CA
monochromatic
#766D22 #A59930 #CABD48 #D8CE77 #E5DFA7
Accessibility & contrast
On white
1.93
#CABD48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.88
#CABD48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CABD48
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CABD48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CABD48 | 1.00 | 1.93 | 10.88 | 10.88 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB739
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#D9B1A5
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #cabd48; /* rgb */ color: rgb(202, 189, 72); /* oklch */ color: oklch(78.7% 0.137 103.0);
Tailwind
colors: {
custom: {
50: '#ddd080',
500: '#cabd48',
950: '#000000',
},
}SCSS
$custom: #cabd48; $custom-light: #ddd080; $custom-dark: #000000;
JSON
{
"hex": "#cabd48",
"rgb": {
"r": 202,
"g": 189,
"b": 72
},
"hsl": {
"h": 54,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.78743,
"c": 0.13658,
"h": 103
},
"luminance": 0.4942
}Semantic roles & 50–950 ramp
primary
#CABD48
secondary
#9BA1D3
accent
#58DE49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C