#CBAE42#CBAE42
#CBAE42 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.129 H 93.9°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAE42 |
|---|---|
| RGB | rgb(203, 174, 66) |
| HSL | hsl(47, 57%, 53%) |
| HSV | hsv(47, 67%, 80%) |
| CMYK | cmyk(0%, 14.3%, 67.5%, 20.4%) |
| CIE-LAB | lab(71.80, -1.43, 57.18) |
| CIE-LCH | lch(71.80, 57.20, 91.44°) |
| OKLab | oklab(75.65% -0.0088 0.1288) |
| OKLCH | oklch(75.65% 0.129 93.9) |
| XYZ | xyz(40.7500, 43.3642, 11.3769) |
| Luminance | 0.4336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.12
Brownish Yellow
#C9B003
ΔE00 4.62
Desert
#CCAD60
ΔE00 4.75
Burnt Yellow
#D5AB09
ΔE00 4.87
Mustard (survey)
#CEB301
ΔE00 4.87
Dark Yellow
#D5B60A
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAE42 #425FCB
analogous
#CB6942 #CBAE42 #A4CB42
triadic
#CBAE42 #42CBAE #AE42CB
tetradic
#CBAE42 #42CB69 #425FCB #CB42A4
square
#CBAE42 #42CB69 #425FCB #CB42A4
split-complementary
#CBAE42 #42A4CB #6942CB
monochromatic
#736120 #A38A2D #CBAE42 #D8C372 #E5D7A2
Accessibility & contrast
On white
2.17
#CBAE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#CBAE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAE42
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAE42 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#DBA198
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cbae42; /* rgb */ color: rgb(203, 174, 66); /* oklch */ color: oklch(75.6% 0.129 93.9);
Tailwind
colors: {
custom: {
50: '#dec57c',
500: '#cbae42',
950: '#000000',
},
}SCSS
$custom: #cbae42; $custom-light: #dec57c; $custom-dark: #000000;
JSON
{
"hex": "#cbae42",
"rgb": {
"r": 203,
"g": 174,
"b": 66
},
"hsl": {
"h": 47.299,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.75649,
"c": 0.12914,
"h": 93.9
},
"luminance": 0.43362
}Semantic roles & 50–950 ramp
primary
#CBAE42
secondary
#97A3D2
accent
#68E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C