#CDC267#CDC267
#CDC267 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.114 H 102.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC267 |
|---|---|
| RGB | rgb(205, 194, 103) |
| HSL | hsl(54, 50%, 60%) |
| HSV | hsv(54, 50%, 80%) |
| CMYK | cmyk(0%, 5.4%, 49.8%, 19.6%) |
| CIE-LAB | lab(77.60, -8.31, 46.76) |
| CIE-LCH | lch(77.60, 47.49, 100.08°) |
| OKLab | oklab(80.41% -0.0245 0.111) |
| OKLCH | oklch(80.41% 0.114 102.4) |
| XYZ | xyz(46.9181, 52.5435, 20.4998) |
| Luminance | 0.5254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.12
Sand (survey)
#E2CA76
ΔE00 4.80
Greenish Beige
#C9D179
ΔE00 6.01
Sandy
#F1DA7A
ΔE00 7.10
Greenish Tan
#BCCB7A
ΔE00 7.54
Puke Yellow
#C2BE0E
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC267 #6772CD
analogous
#CD8F67 #CDC267 #A5CD67
triadic
#CDC267 #67CDC2 #C267CD
tetradic
#CDC267 #67CD8F #6772CD #CD67A5
square
#CDC267 #67CD8F #6772CD #CD67A5
split-complementary
#CDC267 #67A5CD #8F67CD
monochromatic
#8C822E #BAAC3D #CDC267 #DCD495 #EBE7C3
Accessibility & contrast
On white
1.82
#CDC267 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.51
#CDC267 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC267
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC267 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC267 | 1.00 | 1.82 | 11.51 | 11.51 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BD5F
Deuteranopia (green-blind)
#D4C26B
Tritanopia (blue-blind)
#DAB7AD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc267; /* rgb */ color: rgb(205, 194, 103); /* oklch */ color: oklch(80.4% 0.114 102.4);
Tailwind
colors: {
custom: {
50: '#ded494',
500: '#cdc267',
950: '#000000',
},
}SCSS
$custom: #cdc267; $custom-light: #ded494; $custom-dark: #000000;
JSON
{
"hex": "#cdc267",
"rgb": {
"r": 205,
"g": 194,
"b": 103
},
"hsl": {
"h": 53.529,
"s": 50.495,
"l": 60.392
},
"oklch": {
"l": 0.80406,
"c": 0.11365,
"h": 102.4
},
"luminance": 0.52542
}Semantic roles & 50–950 ramp
primary
#CDC267
secondary
#464E92
accent
#38BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F