#34731C#34731C
#34731C is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.136 H 138.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #34731C |
|---|---|
| RGB | rgb(52, 115, 28) |
| HSL | hsl(103, 61%, 28%) |
| HSV | hsv(103, 76%, 45%) |
| CMYK | cmyk(54.8%, 0%, 75.7%, 54.9%) |
| CIE-LAB | lab(42.88, -36.90, 39.70) |
| CIE-LCH | lch(42.88, 54.20, 132.90°) |
| OKLab | oklab(49.53% -0.1018 0.0897) |
| OKLCH | oklch(49.53% 0.136 138.6) |
| XYZ | xyz(7.7562, 13.0748, 3.2133) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.04
Dark Grass Green
#388004
ΔE00 5.46
Darkish Green
#287C37
ΔE00 5.47
Green
#008000
ΔE00 5.78
Darkgreen
#006400
ΔE00 6.24
Darkolivegreen
#556B2F
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34731C #5B1C73
analogous
#5F731C #34731C #1C732F
triadic
#34731C #1C3473 #731C34
tetradic
#34731C #1C5F73 #5B1C73 #732F1C
square
#34731C #1C5F73 #5B1C73 #732F1C
split-complementary
#34731C #2F1C73 #731C5F
monochromatic
#0B1906 #1E4210 #34731C #4AA428 #63CF3A
Accessibility & contrast
On white
5.81
#34731C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#34731C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #34731C
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34731C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34731C | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77690C
Deuteranopia (green-blind)
#6F6325
Tritanopia (blue-blind)
#2F6F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #34731c; /* rgb */ color: rgb(52, 115, 28); /* oklch */ color: oklch(49.5% 0.136 138.6);
Tailwind
colors: {
custom: {
50: '#739c5e',
500: '#34731c',
950: '#000000',
},
}SCSS
$custom: #34731c; $custom-light: #739c5e; $custom-dark: #000000;
JSON
{
"hex": "#34731c",
"rgb": {
"r": 52,
"g": 115,
"b": 28
},
"hsl": {
"h": 103.448,
"s": 60.839,
"l": 28.039
},
"oklch": {
"l": 0.49528,
"c": 0.13568,
"h": 138.6
},
"luminance": 0.13075
}Semantic roles & 50–950 ramp
primary
#34731C
secondary
#8C43A7
accent
#44E4B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79