#C5A138#C5A138
#C5A138 is a light, vivid orange. Relative luminance 0.376; OKLCH L 72.3% C 0.127 H 89.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A138 |
|---|---|
| RGB | rgb(197, 161, 56) |
| HSL | hsl(45, 56%, 50%) |
| HSV | hsv(45, 72%, 77%) |
| CMYK | cmyk(0%, 18.3%, 71.6%, 22.7%) |
| CIE-LAB | lab(67.76, 2.35, 57.02) |
| CIE-LCH | lch(67.76, 57.07, 87.64°) |
| OKLab | oklab(72.3% 0.0012 0.127) |
| OKLCH | oklch(72.3% 0.127 89.5) |
| XYZ | xyz(36.4867, 37.6478, 9.0856) |
| Luminance | 0.3765 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.42
Ocre
#C69C04
ΔE00 3.53
Yellow Ochre
#CB9D06
ΔE00 3.84
Dark Gold
#B59410
ΔE00 4.81
Yellow Brown
#B79400
ΔE00 4.93
Goldenrod
#DAA520
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A138 #385CC5
analogous
#C55B38 #C5A138 #A3C538
triadic
#C5A138 #38C5A1 #A138C5
tetradic
#C5A138 #38C55B #385CC5 #C538A3
square
#C5A138 #38C55B #385CC5 #C538A3
split-complementary
#C5A138 #38A3C5 #5B38C5
monochromatic
#66531D #957A2A #C5A138 #D4B867 #E1CE96
Accessibility & contrast
On white
2.46
#C5A138 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#C5A138 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A138
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A138 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A138 | 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)
#B39F29
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#D5938C
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c5a138; /* rgb */ color: rgb(197, 161, 56); /* oklch */ color: oklch(72.3% 0.127 89.5);
Tailwind
colors: {
custom: {
50: '#dbbc75',
500: '#c5a138',
950: '#000000',
},
}SCSS
$custom: #c5a138; $custom-light: #dbbc75; $custom-dark: #000000;
JSON
{
"hex": "#c5a138",
"rgb": {
"r": 197,
"g": 161,
"b": 56
},
"hsl": {
"h": 44.681,
"s": 55.731,
"l": 49.608
},
"oklch": {
"l": 0.723,
"c": 0.12696,
"h": 89.5
},
"luminance": 0.37646
}Semantic roles & 50–950 ramp
primary
#C5A138
secondary
#8C9DCD
accent
#6FDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B