#CDCB46#CDCB46
#CDCB46 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.151 H 108.5°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CDCB46 |
|---|---|
| RGB | rgb(205, 203, 70) |
| HSL | hsl(59, 57%, 54%) |
| HSV | hsv(59, 66%, 80%) |
| CMYK | cmyk(0%, 1%, 65.9%, 19.6%) |
| CIE-LAB | lab(79.69, -15.28, 63.75) |
| CIE-LCH | lch(79.69, 65.56, 103.48°) |
| OKLab | oklab(81.97% -0.0479 0.1433) |
| OKLCH | oklch(81.97% 0.151 108.5) |
| XYZ | xyz(47.6399, 56.1346, 14.1187) |
| Luminance | 0.5613 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 4.02
Vomit Yellow
#C7C10C
ΔE00 4.09
Puke Yellow
#C2BE0E
ΔE00 4.36
Baby Puke Green
#B6C406
ΔE00 4.99
Piss Yellow
#DDD618
ΔE00 5.07
Bile
#B5C306
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDCB46 #4648CD
analogous
#CD8846 #CDCB46 #8CCD46
triadic
#CDCB46 #46CDCB #CB46CD
tetradic
#CDCB46 #46CD88 #4648CD #CD468C
square
#CDCB46 #46CD88 #4648CD #CD468C
split-complementary
#CDCB46 #468CCD #8846CD
monochromatic
#787720 #A8A62D #CDCB46 #DAD976 #E7E6A6
Accessibility & contrast
On white
1.72
#CDCB46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.23
#CDCB46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDCB46
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDCB46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDCB46 | 1.00 | 1.72 | 12.23 | 12.23 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC333
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#DBBEB0
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cdcb46; /* rgb */ color: rgb(205, 203, 70); /* oklch */ color: oklch(82.0% 0.151 108.5);
Tailwind
colors: {
custom: {
50: '#dfda81',
500: '#cdcb46',
950: '#000000',
},
}SCSS
$custom: #cdcb46; $custom-light: #dfda81; $custom-dark: #000000;
JSON
{
"hex": "#cdcb46",
"rgb": {
"r": 205,
"g": 203,
"b": 70
},
"hsl": {
"h": 59.111,
"s": 57.447,
"l": 53.922
},
"oklch": {
"l": 0.81966,
"c": 0.15111,
"h": 108.5
},
"luminance": 0.56133
}Semantic roles & 50–950 ramp
primary
#CDCB46
secondary
#373880
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E