#3A6C16#3A6C16
#3A6C16 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.8% C 0.127 H 135.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3A6C16 |
|---|---|
| RGB | rgb(58, 108, 22) |
| HSL | hsl(95, 66%, 25%) |
| HSV | hsv(95, 80%, 42%) |
| CMYK | cmyk(46.3%, 0%, 79.6%, 57.6%) |
| CIE-LAB | lab(40.71, -32.35, 39.94) |
| CIE-LCH | lch(40.71, 51.40, 129.01°) |
| OKLab | oklab(47.81% -0.0904 0.0892) |
| OKLCH | oklch(47.81% 0.127 135.4) |
| XYZ | xyz(7.2521, 11.6822, 2.6317) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 5.66
Camouflage Green
#4B6113
ΔE00 6.17
Darkolivegreen
#556B2F
ΔE00 6.24
Camo Green
#526525
ΔE00 6.50
Tree Green
#2A7E19
ΔE00 6.64
Dark Grass Green
#388004
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A6C16 #48166C
analogous
#656C16 #3A6C16 #166C1D
triadic
#3A6C16 #163A6C #6C163A
tetradic
#3A6C16 #16656C #48166C #6C1D16
square
#3A6C16 #16656C #48166C #6C1D16
split-complementary
#3A6C16 #1D166C #6C1665
monochromatic
#0E1905 #1F390C #3A6C16 #559F20 #71D22B
Accessibility & contrast
On white
6.29
#3A6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#3A6C16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A6C16
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A6C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A6C16 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706303
Deuteranopia (green-blind)
#6A5E1F
Tritanopia (blue-blind)
#38685C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3a6c16; /* rgb */ color: rgb(58, 108, 22); /* oklch */ color: oklch(47.8% 0.127 135.4);
Tailwind
colors: {
custom: {
50: '#75965a',
500: '#3a6c16',
950: '#000000',
},
}SCSS
$custom: #3a6c16; $custom-light: #75965a; $custom-dark: #000000;
JSON
{
"hex": "#3a6c16",
"rgb": {
"r": 58,
"g": 108,
"b": 22
},
"hsl": {
"h": 94.884,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.47805,
"c": 0.12697,
"h": 135.4
},
"luminance": 0.11683
}Semantic roles & 50–950 ramp
primary
#3A6C16
secondary
#773CA2
accent
#3FE9A2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79