#CDB236#CDB236
#CDB236 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.140 H 96.4°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB236 |
|---|---|
| RGB | rgb(205, 178, 54) |
| HSL | hsl(49, 60%, 51%) |
| HSV | hsv(49, 74%, 80%) |
| CMYK | cmyk(0%, 13.2%, 73.7%, 19.6%) |
| CIE-LAB | lab(72.95, -3.28, 63.15) |
| CIE-LCH | lch(72.95, 63.23, 92.97°) |
| OKLab | oklab(76.57% -0.0156 0.1393) |
| OKLCH | oklch(76.57% 0.14 96.4) |
| XYZ | xyz(41.7652, 45.0885, 9.9924) |
| Luminance | 0.4509 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.86
Mustard (survey)
#CEB301
ΔE00 2.95
Dark Yellow
#D5B60A
ΔE00 3.26
Mustard
#DBB42C
ΔE00 3.50
Muddy Yellow
#BFAC05
ΔE00 3.86
Gold (survey)
#DBB40C
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB236 #3651CD
analogous
#CD6736 #CDB236 #9CCD36
triadic
#CDB236 #36CDB2 #B236CD
tetradic
#CDB236 #36CD67 #3651CD #CD369C
square
#CDB236 #36CD67 #3651CD #CD369C
split-complementary
#CDB236 #369CCD #6736CD
monochromatic
#6D5F1B #9E8927 #CDB236 #D9C567 #E5D898
Accessibility & contrast
On white
2.10
#CDB236 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.02
#CDB236 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB236
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB236 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB236 | 1.00 | 2.10 | 10.02 | 10.02 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE21
Deuteranopia (green-blind)
#CBB73E
Tritanopia (blue-blind)
#DDA49A
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cdb236; /* rgb */ color: rgb(205, 178, 54); /* oklch */ color: oklch(76.6% 0.140 96.4);
Tailwind
colors: {
custom: {
50: '#e0c876',
500: '#cdb236',
950: '#000000',
},
}SCSS
$custom: #cdb236; $custom-light: #e0c876; $custom-dark: #000000;
JSON
{
"hex": "#cdb236",
"rgb": {
"r": 205,
"g": 178,
"b": 54
},
"hsl": {
"h": 49.272,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.76574,
"c": 0.14012,
"h": 96.4
},
"luminance": 0.45086
}Semantic roles & 50–950 ramp
primary
#CDB236
secondary
#8E9AD1
accent
#61E344
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B