#C2A23D#C2A23D
#C2A23D is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.2% C 0.123 H 91.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A23D |
|---|---|
| RGB | rgb(194, 162, 61) |
| HSL | hsl(46, 52%, 50%) |
| HSV | hsv(46, 69%, 76%) |
| CMYK | cmyk(0%, 16.5%, 68.6%, 23.9%) |
| CIE-LAB | lab(67.76, 0.77, 54.83) |
| CIE-LCH | lch(67.76, 54.84, 89.20°) |
| OKLab | oklab(72.24% -0.0026 0.1233) |
| OKLCH | oklch(72.24% 0.123 91.2) |
| XYZ | xyz(36.0127, 37.6490, 9.7841) |
| Luminance | 0.3765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.89
Ocre
#C69C04
ΔE00 4.43
Desert
#CCAD60
ΔE00 4.88
Yellow Ochre
#CB9D06
ΔE00 4.91
Dark Gold
#B59410
ΔE00 4.98
Sandy Brown
#C4A661
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A23D #3D5DC2
analogous
#C2603D #C2A23D #9FC23D
triadic
#C2A23D #3DC2A2 #A23DC2
tetradic
#C2A23D #3DC260 #3D5DC2 #C23D9F
square
#C2A23D #3DC260 #3D5DC2 #C23D9F
split-complementary
#C2A23D #3D9FC2 #603DC2
monochromatic
#655420 #937B2E #C2A23D #D1B86C #DFCF9A
Accessibility & contrast
On white
2.46
#C2A23D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#C2A23D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A23D
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A23D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A23D | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A030
Deuteranopia (green-blind)
#BBA942
Tritanopia (blue-blind)
#D2958D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c2a23d; /* rgb */ color: rgb(194, 162, 61); /* oklch */ color: oklch(72.2% 0.123 91.2);
Tailwind
colors: {
custom: {
50: '#d8bd78',
500: '#c2a23d',
950: '#000000',
},
}SCSS
$custom: #c2a23d; $custom-light: #d8bd78; $custom-dark: #000000;
JSON
{
"hex": "#c2a23d",
"rgb": {
"r": 194,
"g": 162,
"b": 61
},
"hsl": {
"h": 45.564,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.72244,
"c": 0.12336,
"h": 91.2
},
"luminance": 0.37647
}Semantic roles & 50–950 ramp
primary
#C2A23D
secondary
#909ECB
accent
#6FDC4C
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B