#CDC38F#CDC38F
#CDC38F is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.3% C 0.070 H 98.5°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC38F |
|---|---|
| RGB | rgb(205, 195, 143) |
| HSL | hsl(50, 38%, 68%) |
| HSV | hsv(50, 30%, 80%) |
| CMYK | cmyk(0%, 4.9%, 30.2%, 19.6%) |
| CIE-LAB | lab(78.46, -4.46, 27.46) |
| CIE-LCH | lch(78.46, 27.82, 99.23°) |
| OKLab | oklab(81.27% -0.0103 0.0689) |
| OKLCH | oklch(81.27% 0.07 98.5) |
| XYZ | xyz(49.6503, 53.9937, 33.7876) |
| Luminance | 0.5399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.70
Beige (survey)
#E6DAA6
ΔE00 5.68
Darkkhaki
#BDB76B
ΔE00 6.32
Very Light Brown
#D3B683
ΔE00 6.97
Putty
#BEAE8A
ΔE00 7.17
Sand (survey)
#E2CA76
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC38F #8F99CD
analogous
#CDA48F #CDC38F #B8CD8F
triadic
#CDC38F #8FCDC3 #C38FCD
tetradic
#CDC38F #8FCDA4 #8F99CD #CD8FB8
square
#CDC38F #8FCDA4 #8F99CD #CD8FB8
split-complementary
#CDC38F #8FB8CD #A48FCD
monochromatic
#9C8E46 #BAAC65 #CDC38F #E0DAB9 #F3F0E4
Accessibility & contrast
On white
1.78
#CDC38F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.80
#CDC38F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC38F
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC38F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC38F | 1.00 | 1.78 | 11.80 | 11.80 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDC08C
Deuteranopia (green-blind)
#D0C491
Tritanopia (blue-blind)
#D6BCB5
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc38f; /* rgb */ color: rgb(205, 195, 143); /* oklch */ color: oklch(81.3% 0.070 98.5);
Tailwind
colors: {
custom: {
50: '#ddd5b0',
500: '#cdc38f',
950: '#000000',
},
}SCSS
$custom: #cdc38f; $custom-light: #ddd5b0; $custom-dark: #000000;
JSON
{
"hex": "#cdc38f",
"rgb": {
"r": 205,
"g": 195,
"b": 143
},
"hsl": {
"h": 50.323,
"s": 38.272,
"l": 68.235
},
"oklch": {
"l": 0.81275,
"c": 0.06962,
"h": 98.5
},
"luminance": 0.53993
}Semantic roles & 50–950 ramp
primary
#CDC38F
secondary
#5E69A2
accent
#48B134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381