#34901F#34901F
#34901F is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.6% C 0.170 H 140.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #34901F |
|---|---|
| RGB | rgb(52, 144, 31) |
| HSL | hsl(109, 65%, 34%) |
| HSV | hsv(109, 78%, 56%) |
| CMYK | cmyk(63.9%, 0%, 78.5%, 43.5%) |
| CIE-LAB | lab(52.70, -47.86, 48.33) |
| CIE-LCH | lch(52.70, 68.01, 134.72°) |
| OKLab | oklab(57.65% -0.1311 0.1082) |
| OKLCH | oklch(57.65% 0.17 140.5) |
| XYZ | xyz(11.6362, 20.7744, 4.6927) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.60
Emerald Green
#028F1E
ΔE00 2.66
True Green
#089404
ΔE00 2.67
Irish Green
#019529
ΔE00 3.28
Grass Green
#3F9B0B
ΔE00 4.52
Kelley Green
#009337
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34901F #7B1F90
analogous
#6C901F #34901F #1F9043
triadic
#34901F #1F3490 #901F34
tetradic
#34901F #1F6C90 #7B1F90 #90431F
square
#34901F #1F6C90 #7B1F90 #90431F
split-complementary
#34901F #431F90 #901F6C
monochromatic
#102B09 #225E14 #34901F #46C22A #6AD950
Accessibility & contrast
On white
4.07
#34901F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#34901F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #34901F
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34901F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##34901F | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#268B7B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #34901f; /* rgb */ color: rgb(52, 144, 31); /* oklch */ color: oklch(57.6% 0.170 140.5);
Tailwind
colors: {
custom: {
50: '#78b164',
500: '#34901f',
950: '#000000',
},
}SCSS
$custom: #34901f; $custom-light: #78b164; $custom-dark: #000000;
JSON
{
"hex": "#34901f",
"rgb": {
"r": 52,
"g": 144,
"b": 31
},
"hsl": {
"h": 108.85,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.57649,
"c": 0.17,
"h": 140.5
},
"luminance": 0.20776
}Semantic roles & 50–950 ramp
primary
#34901F
secondary
#A84EBC
accent
#40E8C8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A