#34701F#34701F
#34701F is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.7% C 0.130 H 138.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #34701F |
|---|---|
| RGB | rgb(52, 112, 31) |
| HSL | hsl(104, 57%, 28%) |
| HSV | hsv(104, 72%, 44%) |
| CMYK | cmyk(53.6%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.87, -35.39, 37.42) |
| CIE-LCH | lch(41.87, 51.51, 133.40°) |
| OKLab | oklab(48.71% -0.0975 0.0854) |
| OKLCH | oklch(48.71% 0.13 138.8) |
| XYZ | xyz(7.4574, 12.4168, 3.2998) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 5.18
Darkgreen
#006400
ΔE00 5.65
Darkish Green
#287C37
ΔE00 5.68
Dark Grass Green
#388004
ΔE00 6.68
Green
#008000
ΔE00 6.86
Darkolivegreen
#556B2F
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34701F #5B1F70
analogous
#5C701F #34701F #1F7032
triadic
#34701F #1F3470 #701F34
tetradic
#34701F #1F5C70 #5B1F70 #70321F
square
#34701F #1F5C70 #5B1F70 #70321F
split-complementary
#34701F #321F70 #701F5C
monochromatic
#0B1807 #1E4012 #34701F #4AA02C #63CA3F
Accessibility & contrast
On white
6.03
#34701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#34701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #34701F
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34701F | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736613
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#2F6C60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #34701f; /* rgb */ color: rgb(52, 112, 31); /* oklch */ color: oklch(48.7% 0.130 138.8);
Tailwind
colors: {
custom: {
50: '#729a60',
500: '#34701f',
950: '#000000',
},
}SCSS
$custom: #34701f; $custom-light: #729a60; $custom-dark: #000000;
JSON
{
"hex": "#34701f",
"rgb": {
"r": 52,
"g": 112,
"b": 31
},
"hsl": {
"h": 104.444,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48709,
"c": 0.12959,
"h": 138.8
},
"luminance": 0.12417
}Semantic roles & 50–950 ramp
primary
#34701F
secondary
#8C47A4
accent
#48E0B9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79