#34731F#34731F
#34731F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.6% C 0.134 H 139.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #34731F |
|---|---|
| RGB | rgb(52, 115, 31) |
| HSL | hsl(105, 58%, 29%) |
| HSV | hsv(105, 73%, 45%) |
| CMYK | cmyk(54.8%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.90, -36.65, 38.50) |
| CIE-LCH | lch(42.90, 53.15, 133.59°) |
| OKLab | oklab(49.55% -0.1009 0.0876) |
| OKLCH | oklch(49.55% 0.134 139) |
| XYZ | xyz(7.7939, 13.0899, 3.4119) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.14
Darkish Green
#287C37
ΔE00 5.14
Dark Grass Green
#388004
ΔE00 5.72
Green
#008000
ΔE00 5.93
Darkgreen
#006400
ΔE00 6.29
Darkolivegreen
#556B2F
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34731F #5E1F73
analogous
#5E731F #34731F #1F7334
triadic
#34731F #1F3473 #731F34
tetradic
#34731F #1F5E73 #5E1F73 #73341F
square
#34731F #1F5E73 #5E1F73 #73341F
split-complementary
#34731F #341F73 #731F5E
monochromatic
#0B1806 #1E4312 #34731F #4AA32C #63CC41
Accessibility & contrast
On white
5.80
#34731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#34731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #34731F
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34731F | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#2E6F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #34731f; /* rgb */ color: rgb(52, 115, 31); /* oklch */ color: oklch(49.6% 0.134 139.0);
Tailwind
colors: {
custom: {
50: '#729c60',
500: '#34731f',
950: '#000000',
},
}SCSS
$custom: #34731f; $custom-light: #729c60; $custom-dark: #000000;
JSON
{
"hex": "#34731f",
"rgb": {
"r": 52,
"g": 115,
"b": 31
},
"hsl": {
"h": 105,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.49554,
"c": 0.13363,
"h": 139
},
"luminance": 0.1309
}Semantic roles & 50–950 ramp
primary
#34731F
secondary
#8F47A7
accent
#47E1BA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79