#348227#348227
#348227 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.148 H 141.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #348227 |
|---|---|
| RGB | rgb(52, 130, 39) |
| HSL | hsl(111, 54%, 33%) |
| HSV | hsv(111, 70%, 51%) |
| CMYK | cmyk(60%, 0%, 70%, 49%) |
| CIE-LAB | lab(48.06, -41.94, 40.51) |
| CIE-LCH | lch(48.06, 58.31, 135.99°) |
| OKLab | oklab(53.83% -0.1147 0.0929) |
| OKLCH | oklch(53.83% 0.148 141) |
| XYZ | xyz(9.7645, 16.8409, 4.6551) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.10
Forestgreen (CSS)
#228B22
ΔE00 3.50
Dark Grass Green
#388004
ΔE00 3.64
Green
#008000
ΔE00 3.88
Darkish Green
#287C37
ΔE00 4.53
Emerald Green
#028F1E
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#348227 #752782
analogous
#618227 #348227 #278248
triadic
#348227 #273482 #822734
tetradic
#348227 #276182 #752782 #824827
square
#348227 #276182 #752782 #824827
split-complementary
#348227 #482782 #822761
monochromatic
#0E240B #215319 #348227 #47B135 #68CD57
Accessibility & contrast
On white
4.81
#348227 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#348227 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #348227
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##348227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##348227 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#297E70
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #348227; /* rgb */ color: rgb(52, 130, 39); /* oklch */ color: oklch(53.8% 0.148 141.0);
Tailwind
colors: {
custom: {
50: '#75a766',
500: '#348227',
950: '#000000',
},
}SCSS
$custom: #348227; $custom-light: #75a766; $custom-dark: #000000;
JSON
{
"hex": "#348227",
"rgb": {
"r": 52,
"g": 130,
"b": 39
},
"hsl": {
"h": 111.429,
"s": 53.846,
"l": 33.137
},
"oklch": {
"l": 0.5383,
"c": 0.14761,
"h": 141
},
"luminance": 0.16842
}Semantic roles & 50–950 ramp
primary
#348227
secondary
#A453B1
accent
#4BDDC8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A