#C2A438#C2A438
#C2A438 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.6% C 0.128 H 93.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A438 |
|---|---|
| RGB | rgb(194, 164, 56) |
| HSL | hsl(47, 55%, 49%) |
| HSV | hsv(47, 71%, 76%) |
| CMYK | cmyk(0%, 15.5%, 71.1%, 23.9%) |
| CIE-LAB | lab(68.25, -0.57, 57.41) |
| CIE-LCH | lch(68.25, 57.41, 90.57°) |
| OKLab | oklab(72.61% -0.007 0.1279) |
| OKLCH | oklch(72.61% 0.128 93.1) |
| XYZ | xyz(36.2393, 38.3078, 9.2260) |
| Luminance | 0.3831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.74
Ocre
#C69C04
ΔE00 4.46
Brown Yellow
#B29705
ΔE00 4.94
Yellow Ochre
#CB9D06
ΔE00 5.06
Dark Gold
#B59410
ΔE00 5.10
Burnt Yellow
#D5AB09
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A438 #3856C2
analogous
#C25F38 #C2A438 #9BC238
triadic
#C2A438 #38C2A4 #A438C2
tetradic
#C2A438 #38C25F #3856C2 #C2389B
square
#C2A438 #38C25F #3856C2 #C2389B
split-complementary
#C2A438 #389BC2 #5F38C2
monochromatic
#63541D #937C2A #C2A438 #D2BB65 #E0D094
Accessibility & contrast
On white
2.42
#C2A438 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.66
#C2A438 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A438
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A438 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A438 | 1.00 | 2.42 | 8.66 | 8.66 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A128
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#D2978E
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c2a438; /* rgb */ color: rgb(194, 164, 56); /* oklch */ color: oklch(72.6% 0.128 93.1);
Tailwind
colors: {
custom: {
50: '#d8be75',
500: '#c2a438',
950: '#000000',
},
}SCSS
$custom: #c2a438; $custom-light: #d8be75; $custom-dark: #000000;
JSON
{
"hex": "#c2a438",
"rgb": {
"r": 194,
"g": 164,
"b": 56
},
"hsl": {
"h": 46.957,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.72615,
"c": 0.12808,
"h": 93.1
},
"luminance": 0.38306
}Semantic roles & 50–950 ramp
primary
#C2A438
secondary
#8A99CB
accent
#6ADF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B