#C2A238#C2A238
#C2A238 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.2% C 0.127 H 91.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A238 |
|---|---|
| RGB | rgb(194, 162, 56) |
| HSL | hsl(46, 55%, 49%) |
| HSV | hsv(46, 71%, 76%) |
| CMYK | cmyk(0%, 16.5%, 71.1%, 23.9%) |
| CIE-LAB | lab(67.72, 0.50, 56.88) |
| CIE-LCH | lch(67.72, 56.89, 89.50°) |
| OKLab | oklab(72.2% -0.0039 0.1268) |
| OKLCH | oklch(72.2% 0.127 91.8) |
| XYZ | xyz(35.8842, 37.5976, 9.1076) |
| Luminance | 0.3760 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.41
Ocre
#C69C04
ΔE00 4.02
Yellow Ochre
#CB9D06
ΔE00 4.59
Dark Gold
#B59410
ΔE00 4.69
Brown Yellow
#B29705
ΔE00 4.86
Yellow Brown
#B79400
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A238 #3858C2
analogous
#C25D38 #C2A238 #9DC238
triadic
#C2A238 #38C2A2 #A238C2
tetradic
#C2A238 #38C25D #3858C2 #C2389D
square
#C2A238 #38C25D #3858C2 #C2389D
split-complementary
#C2A238 #389DC2 #5D38C2
monochromatic
#63531D #937A2A #C2A238 #D2B965 #E0CF94
Accessibility & contrast
On white
2.47
#C2A238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#C2A238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A238
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A238 | 1.00 | 2.47 | 8.52 | 8.52 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#D2958D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c2a238; /* rgb */ color: rgb(194, 162, 56); /* oklch */ color: oklch(72.2% 0.127 91.8);
Tailwind
colors: {
custom: {
50: '#d8bd75',
500: '#c2a238',
950: '#000000',
},
}SCSS
$custom: #c2a238; $custom-light: #d8bd75; $custom-dark: #000000;
JSON
{
"hex": "#c2a238",
"rgb": {
"r": 194,
"g": 162,
"b": 56
},
"hsl": {
"h": 46.087,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.72201,
"c": 0.12684,
"h": 91.8
},
"luminance": 0.37596
}Semantic roles & 50–950 ramp
primary
#C2A238
secondary
#8A99CB
accent
#6CDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B