#CDC273#CDC273
#CDC273 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.101 H 101.4°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC273 |
|---|---|
| RGB | rgb(205, 194, 115) |
| HSL | hsl(53, 47%, 63%) |
| HSV | hsv(53, 44%, 80%) |
| CMYK | cmyk(0%, 5.4%, 43.9%, 19.6%) |
| CIE-LAB | lab(77.76, -7.17, 41.00) |
| CIE-LCH | lch(77.76, 41.62, 99.91°) |
| OKLab | oklab(80.58% -0.02 0.0991) |
| OKLCH | oklch(80.58% 0.101 101.4) |
| XYZ | xyz(47.5642, 52.8020, 23.9026) |
| Luminance | 0.5280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.48
Sand (survey)
#E2CA76
ΔE00 4.60
Greenish Beige
#C9D179
ΔE00 5.96
Sand
#C2B280
ΔE00 7.10
Greenish Tan
#BCCB7A
ΔE00 7.15
Sandy
#F1DA7A
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC273 #737ECD
analogous
#CD9573 #CDC273 #ABCD73
triadic
#CDC273 #73CDC2 #C273CD
tetradic
#CDC273 #73CD95 #737ECD #CD73AB
square
#CDC273 #73CD95 #737ECD #CD73AB
split-complementary
#CDC273 #73ABCD #9573CD
monochromatic
#928634 #BDAE46 #CDC273 #DDD6A0 #EDE9CD
Accessibility & contrast
On white
1.82
#CDC273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#CDC273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC273
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC273 | 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)
#CFBD6D
Deuteranopia (green-blind)
#D3C276
Tritanopia (blue-blind)
#D9B8AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc273; /* rgb */ color: rgb(205, 194, 115); /* oklch */ color: oklch(80.6% 0.101 101.4);
Tailwind
colors: {
custom: {
50: '#ded49c',
500: '#cdc273',
950: '#000000',
},
}SCSS
$custom: #cdc273; $custom-light: #ded49c; $custom-dark: #000000;
JSON
{
"hex": "#cdc273",
"rgb": {
"r": 205,
"g": 194,
"b": 115
},
"hsl": {
"h": 52.667,
"s": 47.368,
"l": 62.745
},
"oklch": {
"l": 0.80578,
"c": 0.10107,
"h": 101.4
},
"luminance": 0.52801
}Semantic roles & 50–950 ramp
primary
#CDC273
secondary
#4C5698
accent
#3CBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F