#7C812A#7C812A
#7C812A is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.109 H 112.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7C812A |
|---|---|
| RGB | rgb(124, 129, 42) |
| HSL | hsl(63, 51%, 34%) |
| HSV | hsv(63, 67%, 51%) |
| CMYK | cmyk(3.9%, 0%, 67.4%, 49.4%) |
| CIE-LAB | lab(52.01, -13.77, 44.67) |
| CIE-LCH | lch(52.01, 46.74, 107.13°) |
| OKLab | oklab(58.16% -0.0418 0.1008) |
| OKLCH | oklch(58.16% 0.109 112.5) |
| XYZ | xyz(16.5808, 20.1531, 5.2065) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.66
Olive
#808000
ΔE00 4.15
Drab
#828344
ΔE00 4.30
Poop Green
#6F7C00
ΔE00 4.31
Swamp Green
#748500
ΔE00 4.41
Murky Green
#6C7A0E
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C812A #2F2A81
analogous
#815A2A #7C812A #50812A
triadic
#7C812A #2A7C81 #812A7C
tetradic
#7C812A #2A815A #2F2A81 #812A50
square
#7C812A #2A815A #2F2A81 #812A50
split-complementary
#7C812A #2A5081 #5A2A81
monochromatic
#23250C #50531B #7C812A #A8AF39 #C3CA5C
Accessibility & contrast
On white
4.17
#7C812A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#7C812A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C812A
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C812A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C812A | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B1E
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#84796F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7c812a; /* rgb */ color: rgb(124, 129, 42); /* oklch */ color: oklch(58.2% 0.109 112.5);
Tailwind
colors: {
custom: {
50: '#a4a569',
500: '#7c812a',
950: '#000000',
},
}SCSS
$custom: #7c812a; $custom-light: #a4a569; $custom-dark: #000000;
JSON
{
"hex": "#7c812a",
"rgb": {
"r": 124,
"g": 129,
"b": 42
},
"hsl": {
"h": 63.448,
"s": 50.877,
"l": 33.529
},
"oklch": {
"l": 0.58155,
"c": 0.10914,
"h": 112.5
},
"luminance": 0.20153
}Semantic roles & 50–950 ramp
primary
#7C812A
secondary
#5C57AF
accent
#4DDA56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A