#CDB336#CDB336
#CDB336 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.141 H 97.0°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB336 |
|---|---|
| RGB | rgb(205, 179, 54) |
| HSL | hsl(50, 60%, 51%) |
| HSV | hsv(50, 74%, 80%) |
| CMYK | cmyk(0%, 12.7%, 73.7%, 19.6%) |
| CIE-LAB | lab(73.21, -3.80, 63.40) |
| CIE-LCH | lch(73.21, 63.52, 93.43°) |
| OKLab | oklab(76.78% -0.0171 0.1398) |
| OKLCH | oklch(76.78% 0.141 97) |
| XYZ | xyz(41.9649, 45.4879, 10.0590) |
| Luminance | 0.4549 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.78
Mustard (survey)
#CEB301
ΔE00 2.85
Dark Yellow
#D5B60A
ΔE00 3.20
Mustard
#DBB42C
ΔE00 3.68
Muddy Yellow
#BFAC05
ΔE00 3.77
Gold (survey)
#DBB40C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB336 #3650CD
analogous
#CD6736 #CDB336 #9BCD36
triadic
#CDB336 #36CDB3 #B336CD
tetradic
#CDB336 #36CD67 #3650CD #CD369B
square
#CDB336 #36CD67 #3650CD #CD369B
split-complementary
#CDB336 #369BCD #6736CD
monochromatic
#6D5F1B #9E8A27 #CDB336 #D9C667 #E5D898
Accessibility & contrast
On white
2.08
#CDB336 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.10
#CDB336 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB336
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB336 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB336 | 1.00 | 2.08 | 10.10 | 10.10 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF20
Deuteranopia (green-blind)
#CCB73E
Tritanopia (blue-blind)
#DDA59B
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cdb336; /* rgb */ color: rgb(205, 179, 54); /* oklch */ color: oklch(76.8% 0.141 97.0);
Tailwind
colors: {
custom: {
50: '#e0c976',
500: '#cdb336',
950: '#000000',
},
}SCSS
$custom: #cdb336; $custom-light: #e0c976; $custom-dark: #000000;
JSON
{
"hex": "#cdb336",
"rgb": {
"r": 205,
"g": 179,
"b": 54
},
"hsl": {
"h": 49.669,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.76782,
"c": 0.14083,
"h": 97
},
"luminance": 0.45486
}Semantic roles & 50–950 ramp
primary
#CDB336
secondary
#8E99D1
accent
#60E344
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B