#CDC272#CDC272
#CDC272 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.102 H 101.5°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC272 |
|---|---|
| RGB | rgb(205, 194, 114) |
| HSL | hsl(53, 48%, 63%) |
| HSV | hsv(53, 44%, 80%) |
| CMYK | cmyk(0%, 5.4%, 44.4%, 19.6%) |
| CIE-LAB | lab(77.74, -7.27, 41.49) |
| CIE-LCH | lch(77.74, 42.12, 99.93°) |
| OKLab | oklab(80.56% -0.0204 0.1001) |
| OKLCH | oklch(80.56% 0.102 101.5) |
| XYZ | xyz(47.5070, 52.7791, 23.6012) |
| Luminance | 0.5278 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.49
Sand (survey)
#E2CA76
ΔE00 4.58
Greenish Beige
#C9D179
ΔE00 5.93
Greenish Tan
#BCCB7A
ΔE00 7.16
Sand
#C2B280
ΔE00 7.24
Sandy
#F1DA7A
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC272 #727DCD
analogous
#CD9472 #CDC272 #ABCD72
triadic
#CDC272 #72CDC2 #C272CD
tetradic
#CDC272 #72CD94 #727DCD #CD72AB
square
#CDC272 #72CD94 #727DCD #CD72AB
split-complementary
#CDC272 #72ABCD #9472CD
monochromatic
#918633 #BDAE45 #CDC272 #DDD69F #EDE9CC
Accessibility & contrast
On white
1.82
#CDC272 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#CDC272 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC272
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC272 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC272 | 1.00 | 1.82 | 11.56 | 11.56 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBD6C
Deuteranopia (green-blind)
#D3C275
Tritanopia (blue-blind)
#D9B8AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc272; /* rgb */ color: rgb(205, 194, 114); /* oklch */ color: oklch(80.6% 0.102 101.5);
Tailwind
colors: {
custom: {
50: '#ded49c',
500: '#cdc272',
950: '#000000',
},
}SCSS
$custom: #cdc272; $custom-light: #ded49c; $custom-dark: #000000;
JSON
{
"hex": "#cdc272",
"rgb": {
"r": 205,
"g": 194,
"b": 114
},
"hsl": {
"h": 52.747,
"s": 47.644,
"l": 62.549
},
"oklch": {
"l": 0.80562,
"c": 0.10215,
"h": 101.5
},
"luminance": 0.52778
}Semantic roles & 50–950 ramp
primary
#CDC272
secondary
#4C5597
accent
#3CBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F