#CBAC4D#CBAC4D
#CBAC4D is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.119 H 91.2°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAC4D |
|---|---|
| RGB | rgb(203, 172, 77) |
| HSL | hsl(45, 55%, 55%) |
| HSV | hsv(45, 62%, 80%) |
| CMYK | cmyk(0%, 15.3%, 62.1%, 20.4%) |
| CIE-LAB | lab(71.38, 0.31, 51.86) |
| CIE-LCH | lch(71.38, 51.86, 89.66°) |
| OKLab | oklab(75.35% -0.0025 0.1192) |
| OKLCH | oklch(75.35% 0.119 91.2) |
| XYZ | xyz(40.7226, 42.7396, 13.1243) |
| Luminance | 0.4274 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.92
Sandy Brown
#C4A661
ΔE00 4.55
Tan (survey)
#D1B26F
ΔE00 5.18
Mustard
#DBB42C
ΔE00 5.22
Sand Brown
#CBA560
ΔE00 5.59
Burnt Yellow
#D5AB09
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAC4D #4D6CCB
analogous
#CB6D4D #CBAC4D #ABCB4D
triadic
#CBAC4D #4DCBAC #AC4DCB
tetradic
#CBAC4D #4DCB6D #4D6CCB #CB4DAB
square
#CBAC4D #4DCB6D #4D6CCB #CB4DAB
split-complementary
#CBAC4D #4DABCB #6D4DCB
monochromatic
#7A6524 #A98C31 #CBAC4D #D9C27C #E7D8AC
Accessibility & contrast
On white
2.20
#CBAC4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#CBAC4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAC4D
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAC4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAC4D | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAA43
Deuteranopia (green-blind)
#C5B351
Tritanopia (blue-blind)
#DB9F97
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cbac4d; /* rgb */ color: rgb(203, 172, 77); /* oklch */ color: oklch(75.3% 0.119 91.2);
Tailwind
colors: {
custom: {
50: '#dec482',
500: '#cbac4d',
950: '#000000',
},
}SCSS
$custom: #cbac4d; $custom-light: #dec482; $custom-dark: #000000;
JSON
{
"hex": "#cbac4d",
"rgb": {
"r": 203,
"g": 172,
"b": 77
},
"hsl": {
"h": 45.238,
"s": 54.783,
"l": 54.902
},
"oklch": {
"l": 0.75345,
"c": 0.11923,
"h": 91.2
},
"luminance": 0.42737
}Semantic roles & 50–950 ramp
primary
#CBAC4D
secondary
#9FACD4
accent
#6EDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C