#CDA733#CDA733
#CDA733 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.3% C 0.135 H 89.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA733 |
|---|---|
| RGB | rgb(205, 167, 51) |
| HSL | hsl(45, 61%, 50%) |
| HSV | hsv(45, 75%, 80%) |
| CMYK | cmyk(0%, 18.5%, 75.1%, 19.6%) |
| CIE-LAB | lab(70.08, 2.41, 61.51) |
| CIE-LCH | lch(70.08, 61.55, 87.76°) |
| OKLab | oklab(74.3% 0.0003 0.1352) |
| OKLCH | oklch(74.3% 0.135 89.9) |
| XYZ | xyz(39.5954, 40.8581, 8.9322) |
| Luminance | 0.4086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.24
Yellow Ochre
#CB9D06
ΔE00 3.66
Ocre
#C69C04
ΔE00 3.67
Goldenrod
#DAA520
ΔE00 4.03
Mustard
#DBB42C
ΔE00 4.04
Ocher
#BF9B0C
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA733 #3359CD
analogous
#CD5A33 #CDA733 #A6CD33
triadic
#CDA733 #33CDA7 #A733CD
tetradic
#CDA733 #33CD5A #3359CD #CD33A6
square
#CDA733 #33CD5A #3359CD #CD33A6
split-complementary
#CDA733 #33A6CD #5A33CD
monochromatic
#6B571A #9C7F26 #CDA733 #D9BC64 #E5D195
Accessibility & contrast
On white
2.29
#CDA733 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#CDA733 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA733
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA733 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA733 | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA51F
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#DE9990
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #cda733; /* rgb */ color: rgb(205, 167, 51); /* oklch */ color: oklch(74.3% 0.135 89.9);
Tailwind
colors: {
custom: {
50: '#e1c073',
500: '#cda733',
950: '#000000',
},
}SCSS
$custom: #cda733; $custom-light: #e1c073; $custom-dark: #000000;
JSON
{
"hex": "#cda733",
"rgb": {
"r": 205,
"g": 167,
"b": 51
},
"hsl": {
"h": 45.195,
"s": 60.63,
"l": 50.196
},
"oklch": {
"l": 0.74299,
"c": 0.13517,
"h": 89.9
},
"luminance": 0.40856
}Semantic roles & 50–950 ramp
primary
#CDA733
secondary
#8B9CD0
accent
#6BE444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B