#3C7512#3C7512
#3C7512 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.140 H 135.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #3C7512 |
|---|---|
| RGB | rgb(60, 117, 18) |
| HSL | hsl(95, 73%, 26%) |
| HSV | hsv(95, 85%, 46%) |
| CMYK | cmyk(48.7%, 0%, 84.6%, 54.1%) |
| CIE-LAB | lab(43.84, -35.79, 44.26) |
| CIE-LCH | lch(43.84, 56.92, 128.96°) |
| OKLab | oklab(50.4% -0.1 0.0976) |
| OKLCH | oklch(50.4% 0.14 135.7) |
| XYZ | xyz(8.3337, 13.7264, 2.7825) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.00
Dark Grass Green
#388004
ΔE00 4.11
Green
#008000
ΔE00 5.65
Avocado
#568203
ΔE00 6.76
Darkish Green
#287C37
ΔE00 6.96
Darkgreen
#006400
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C7512 #4B1275
analogous
#6E7512 #3C7512 #127519
triadic
#3C7512 #123C75 #75123C
tetradic
#3C7512 #126E75 #4B1275 #751912
square
#3C7512 #126E75 #4B1275 #751912
split-complementary
#3C7512 #191275 #75126E
monochromatic
#0E1B04 #21400A #3C7512 #57AA1A #73DD24
Accessibility & contrast
On white
5.61
#3C7512 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#3C7512 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3C7512
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C7512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C7512 | 1.00 | 5.61 | 3.75 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#3A7063
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #3c7512; /* rgb */ color: rgb(60, 117, 18); /* oklch */ color: oklch(50.4% 0.140 135.7);
Tailwind
colors: {
custom: {
50: '#789d5a',
500: '#3c7512',
950: '#000000',
},
}SCSS
$custom: #3c7512; $custom-light: #789d5a; $custom-dark: #000000;
JSON
{
"hex": "#3c7512",
"rgb": {
"r": 60,
"g": 117,
"b": 18
},
"hsl": {
"h": 94.545,
"s": 73.333,
"l": 26.471
},
"oklch": {
"l": 0.50395,
"c": 0.13971,
"h": 135.7
},
"luminance": 0.13727
}Semantic roles & 50–950 ramp
primary
#3C7512
secondary
#7A37AC
accent
#38F0A2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79