#CDB543#CDB543
#CDB543 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.134 H 97.2°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB543 |
|---|---|
| RGB | rgb(205, 181, 67) |
| HSL | hsl(50, 58%, 53%) |
| HSV | hsv(50, 67%, 80%) |
| CMYK | cmyk(0%, 11.7%, 67.3%, 19.6%) |
| CIE-LAB | lab(73.83, -4.19, 58.93) |
| CIE-LCH | lch(73.83, 59.07, 94.07°) |
| OKLab | oklab(77.3% -0.0167 0.1326) |
| OKLCH | oklch(77.3% 0.134 97.2) |
| XYZ | xyz(42.7158, 46.4342, 12.0218) |
| Luminance | 0.4643 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.01
Mustard (survey)
#CEB301
ΔE00 4.08
Dark Yellow
#D5B60A
ΔE00 4.32
Mustard
#DBB42C
ΔE00 4.44
Muddy Yellow
#BFAC05
ΔE00 4.64
Mustard Yellow
#D2BD0A
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB543 #435BCD
analogous
#CD7043 #CDB543 #A0CD43
triadic
#CDB543 #43CDB5 #B543CD
tetradic
#CDB543 #43CD70 #435BCD #CD43A0
square
#CDB543 #43CD70 #435BCD #CD43A0
split-complementary
#CDB543 #43A0CD #7043CD
monochromatic
#76671F #A7912C #CDB543 #DAC873 #E7DBA4
Accessibility & contrast
On white
2.04
#CDB543 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.29
#CDB543 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB543
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB543 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB543 | 1.00 | 2.04 | 10.29 | 10.29 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B134
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#DDA89D
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cdb543; /* rgb */ color: rgb(205, 181, 67); /* oklch */ color: oklch(77.3% 0.134 97.2);
Tailwind
colors: {
custom: {
50: '#e0ca7d',
500: '#cdb543',
950: '#000000',
},
}SCSS
$custom: #cdb543; $custom-light: #e0ca7d; $custom-dark: #000000;
JSON
{
"hex": "#cdb543",
"rgb": {
"r": 205,
"g": 181,
"b": 67
},
"hsl": {
"h": 49.565,
"s": 57.983,
"l": 53.333
},
"oklch": {
"l": 0.77297,
"c": 0.13369,
"h": 97.2
},
"luminance": 0.46432
}Semantic roles & 50–950 ramp
primary
#CDB543
secondary
#98A3D4
accent
#61E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C