#C5A236#C5A236
#C5A236 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.5% C 0.129 H 90.4°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A236 |
|---|---|
| RGB | rgb(197, 162, 54) |
| HSL | hsl(45, 57%, 49%) |
| HSV | hsv(45, 73%, 77%) |
| CMYK | cmyk(0%, 17.8%, 72.6%, 22.7%) |
| CIE-LAB | lab(68.01, 1.72, 58.07) |
| CIE-LCH | lch(68.01, 58.09, 88.31°) |
| OKLab | oklab(72.49% -0.0008 0.1288) |
| OKLCH | oklch(72.49% 0.129 90.4) |
| XYZ | xyz(36.6142, 37.9796, 8.8916) |
| Luminance | 0.3798 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.24
Ocre
#C69C04
ΔE00 3.47
Yellow Ochre
#CB9D06
ΔE00 3.87
Dark Gold
#B59410
ΔE00 4.80
Burnt Yellow
#D5AB09
ΔE00 4.88
Yellow Brown
#B79400
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A236 #3659C5
analogous
#C55B36 #C5A236 #A1C536
triadic
#C5A236 #36C5A2 #A236C5
tetradic
#C5A236 #36C55B #3659C5 #C536A1
square
#C5A236 #36C55B #3659C5 #C536A1
split-complementary
#C5A236 #36A1C5 #5B36C5
monochromatic
#65531C #957B29 #C5A236 #D4B964 #E2CF94
Accessibility & contrast
On white
2.44
#C5A236 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#C5A236 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A236
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A236 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A236 | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A026
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#D5948C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c5a236; /* rgb */ color: rgb(197, 162, 54); /* oklch */ color: oklch(72.5% 0.129 90.4);
Tailwind
colors: {
custom: {
50: '#dbbd74',
500: '#c5a236',
950: '#000000',
},
}SCSS
$custom: #c5a236; $custom-light: #dbbd74; $custom-dark: #000000;
JSON
{
"hex": "#c5a236",
"rgb": {
"r": 197,
"g": 162,
"b": 54
},
"hsl": {
"h": 45.315,
"s": 56.972,
"l": 49.216
},
"oklch": {
"l": 0.72488,
"c": 0.12879,
"h": 90.4
},
"luminance": 0.37977
}Semantic roles & 50–950 ramp
primary
#C5A236
secondary
#8A9ACD
accent
#6DE048
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151209
muted
#84817B