#CDC38B#CDC38B
#CDC38B is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.074 H 99.2°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC38B |
|---|---|
| RGB | rgb(205, 195, 139) |
| HSL | hsl(51, 40%, 67%) |
| HSV | hsv(51, 32%, 80%) |
| CMYK | cmyk(0%, 4.9%, 32.2%, 19.6%) |
| CIE-LAB | lab(78.39, -4.97, 29.46) |
| CIE-LCH | lch(78.39, 29.88, 99.57°) |
| OKLab | oklab(81.2% -0.012 0.0735) |
| OKLCH | oklch(81.2% 0.074 99.2) |
| XYZ | xyz(49.3527, 53.8746, 32.2201) |
| Luminance | 0.5387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.84
Darkkhaki
#BDB76B
ΔE00 5.59
Beige (survey)
#E6DAA6
ΔE00 5.85
Sand (survey)
#E2CA76
ΔE00 6.73
Very Light Brown
#D3B683
ΔE00 7.13
Sandstone
#C9AE74
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC38B #8B95CD
analogous
#CDA28B #CDC38B #B6CD8B
triadic
#CDC38B #8BCDC3 #C38BCD
tetradic
#CDC38B #8BCDA2 #8B95CD #CD8BB6
square
#CDC38B #8BCDA2 #8B95CD #CD8BB6
split-complementary
#CDC38B #8BB6CD #A28BCD
monochromatic
#9B8E43 #BBAD60 #CDC38B #DFD9B6 #F2EFE1
Accessibility & contrast
On white
1.78
#CDC38B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.77
#CDC38B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC38B
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC38B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC38B | 1.00 | 1.78 | 11.77 | 11.77 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEC087
Deuteranopia (green-blind)
#D1C48D
Tritanopia (blue-blind)
#D7BBB4
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc38b; /* rgb */ color: rgb(205, 195, 139); /* oklch */ color: oklch(81.2% 0.074 99.2);
Tailwind
colors: {
custom: {
50: '#ddd5ad',
500: '#cdc38b',
950: '#000000',
},
}SCSS
$custom: #cdc38b; $custom-light: #ddd5ad; $custom-dark: #000000;
JSON
{
"hex": "#cdc38b",
"rgb": {
"r": 205,
"g": 195,
"b": 139
},
"hsl": {
"h": 50.909,
"s": 39.759,
"l": 67.451
},
"oklch": {
"l": 0.81197,
"c": 0.07448,
"h": 99.2
},
"luminance": 0.53873
}Semantic roles & 50–950 ramp
primary
#CDC38B
secondary
#5B66A1
accent
#46B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381