#34751A#34751A
#34751A is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.1% C 0.140 H 138.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #34751A |
|---|---|
| RGB | rgb(52, 117, 26) |
| HSL | hsl(103, 64%, 28%) |
| HSV | hsv(103, 78%, 46%) |
| CMYK | cmyk(55.6%, 0%, 77.8%, 54.1%) |
| CIE-LAB | lab(43.55, -37.88, 41.15) |
| CIE-LCH | lch(43.55, 55.93, 132.63°) |
| OKLab | oklab(50.08% -0.1045 0.0924) |
| OKLCH | oklch(50.08% 0.14 138.5) |
| XYZ | xyz(7.9636, 13.5266, 3.1683) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.33
Dark Grass Green
#388004
ΔE00 4.67
Green
#008000
ΔE00 5.10
Darkish Green
#287C37
ΔE00 5.45
Darkgreen
#006400
ΔE00 6.75
Forestgreen (CSS)
#228B22
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34751A #5B1A75
analogous
#61751A #34751A #1A752D
triadic
#34751A #1A3475 #751A34
tetradic
#34751A #1A6175 #5B1A75 #752D1A
square
#34751A #1A6175 #5B1A75 #752D1A
split-complementary
#34751A #2D1A75 #751A61
monochromatic
#0B1906 #1E430F #34751A #4AA725 #63D337
Accessibility & contrast
On white
5.67
#34751A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#34751A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #34751A
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34751A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34751A | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A07
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#2E7164
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #34751a; /* rgb */ color: rgb(52, 117, 26); /* oklch */ color: oklch(50.1% 0.140 138.5);
Tailwind
colors: {
custom: {
50: '#739d5e',
500: '#34751a',
950: '#000000',
},
}SCSS
$custom: #34751a; $custom-light: #739d5e; $custom-dark: #000000;
JSON
{
"hex": "#34751a",
"rgb": {
"r": 52,
"g": 117,
"b": 26
},
"hsl": {
"h": 102.857,
"s": 63.636,
"l": 28.039
},
"oklch": {
"l": 0.50076,
"c": 0.13955,
"h": 138.5
},
"luminance": 0.13527
}Semantic roles & 50–950 ramp
primary
#34751A
secondary
#8C41AA
accent
#41E7B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79