#CDB140#CDB140
#CDB140 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.133 H 95.0°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB140 |
|---|---|
| RGB | rgb(205, 177, 64) |
| HSL | hsl(48, 59%, 53%) |
| HSV | hsv(48, 69%, 80%) |
| CMYK | cmyk(0%, 13.7%, 68.8%, 19.6%) |
| CIE-LAB | lab(72.76, -2.26, 59.06) |
| CIE-LCH | lch(72.76, 59.11, 92.19°) |
| OKLab | oklab(76.44% -0.0116 0.1324) |
| OKLCH | oklch(76.44% 0.133 95) |
| XYZ | xyz(41.8265, 44.7958, 11.2928) |
| Luminance | 0.4479 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.70
Brownish Yellow
#C9B003
ΔE00 4.00
Mustard (survey)
#CEB301
ΔE00 4.14
Dark Yellow
#D5B60A
ΔE00 4.30
Gold (survey)
#DBB40C
ΔE00 4.74
Muddy Yellow
#BFAC05
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB140 #405CCD
analogous
#CD6A40 #CDB140 #A2CD40
triadic
#CDB140 #40CDB1 #B140CD
tetradic
#CDB140 #40CD6A #405CCD #CD40A2
square
#CDB140 #40CD6A #405CCD #CD40A2
split-complementary
#CDB140 #40A2CD #6A40CD
monochromatic
#74631E #A58D2B #CDB140 #DAC571 #E6D9A1
Accessibility & contrast
On white
2.11
#CDB140 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#CDB140 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB140
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB140 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB140 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE31
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#DDA49A
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cdb140; /* rgb */ color: rgb(205, 177, 64); /* oklch */ color: oklch(76.4% 0.133 95.0);
Tailwind
colors: {
custom: {
50: '#e0c87b',
500: '#cdb140',
950: '#000000',
},
}SCSS
$custom: #cdb140; $custom-light: #e0c87b; $custom-dark: #000000;
JSON
{
"hex": "#cdb140",
"rgb": {
"r": 205,
"g": 177,
"b": 64
},
"hsl": {
"h": 48.085,
"s": 58.506,
"l": 52.745
},
"oklch": {
"l": 0.76444,
"c": 0.13292,
"h": 95
},
"luminance": 0.44794
}Semantic roles & 50–950 ramp
primary
#CDB140
secondary
#96A2D3
accent
#65E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C