#C7A338#C7A338
#C7A338 is a light, vivid orange. Relative luminance 0.386; OKLCH L 72.9% C 0.129 H 89.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A338 |
|---|---|
| RGB | rgb(199, 163, 56) |
| HSL | hsl(45, 56%, 50%) |
| HSV | hsv(45, 72%, 78%) |
| CMYK | cmyk(0%, 18.1%, 71.9%, 22%) |
| CIE-LAB | lab(68.48, 2.15, 57.80) |
| CIE-LCH | lch(68.48, 57.84, 87.87°) |
| OKLab | oklab(72.91% 0.0005 0.1285) |
| OKLCH | oklch(72.91% 0.129 89.8) |
| XYZ | xyz(37.3663, 38.6243, 9.2277) |
| Luminance | 0.3862 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.58
Ocre
#C69C04
ΔE00 3.60
Yellow Ochre
#CB9D06
ΔE00 3.85
Burnt Yellow
#D5AB09
ΔE00 4.72
Goldenrod
#DAA520
ΔE00 4.92
Desert
#CCAD60
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A338 #385CC7
analogous
#C75C38 #C7A338 #A3C738
triadic
#C7A338 #38C7A3 #A338C7
tetradic
#C7A338 #38C75C #385CC7 #C738A3
square
#C7A338 #38C75C #385CC7 #C738A3
split-complementary
#C7A338 #38A3C7 #5C38C7
monochromatic
#67551D #977C2B #C7A338 #D4B968 #E2CF98
Accessibility & contrast
On white
2.41
#C7A338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#C7A338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A338
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A338 | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A129
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#D7958D
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c7a338; /* rgb */ color: rgb(199, 163, 56); /* oklch */ color: oklch(72.9% 0.129 89.8);
Tailwind
colors: {
custom: {
50: '#dcbd75',
500: '#c7a338',
950: '#000000',
},
}SCSS
$custom: #c7a338; $custom-light: #dcbd75; $custom-dark: #000000;
JSON
{
"hex": "#c7a338",
"rgb": {
"r": 199,
"g": 163,
"b": 56
},
"hsl": {
"h": 44.895,
"s": 56.078,
"l": 50
},
"oklch": {
"l": 0.72912,
"c": 0.12853,
"h": 89.8
},
"luminance": 0.38622
}Semantic roles & 50–950 ramp
primary
#C7A338
secondary
#8D9DCD
accent
#6EDF48
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B