#338C1E#338C1E
#338C1E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.166 H 140.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #338C1E |
|---|---|
| RGB | rgb(51, 140, 30) |
| HSL | hsl(109, 65%, 33%) |
| HSV | hsv(109, 79%, 55%) |
| CMYK | cmyk(63.6%, 0%, 78.6%, 45.1%) |
| CIE-LAB | lab(51.33, -46.71, 47.33) |
| CIE-LCH | lch(51.33, 66.50, 134.63°) |
| OKLab | oklab(56.5% -0.128 0.1059) |
| OKLCH | oklch(56.5% 0.166 140.4) |
| XYZ | xyz(10.9771, 19.5527, 4.4236) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.72
Emerald Green
#028F1E
ΔE00 2.62
True Green
#089404
ΔE00 3.53
Irish Green
#019529
ΔE00 4.01
Dark Grass Green
#388004
ΔE00 4.65
Kelley Green
#009337
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338C1E #771E8C
analogous
#6A8C1E #338C1E #1E8C40
triadic
#338C1E #1E338C #8C1E33
tetradic
#338C1E #1E6A8C #771E8C #8C401E
square
#338C1E #1E6A8C #771E8C #8C401E
split-complementary
#338C1E #401E8C #8C1E6A
monochromatic
#0E2708 #215A13 #338C1E #45BE29 #67D94C
Accessibility & contrast
On white
4.28
#338C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#338C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338C1E
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338C1E | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#268777
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #338c1e; /* rgb */ color: rgb(51, 140, 30); /* oklch */ color: oklch(56.5% 0.166 140.4);
Tailwind
colors: {
custom: {
50: '#77ae63',
500: '#338c1e',
950: '#000000',
},
}SCSS
$custom: #338c1e; $custom-light: #77ae63; $custom-dark: #000000;
JSON
{
"hex": "#338c1e",
"rgb": {
"r": 51,
"g": 140,
"b": 30
},
"hsl": {
"h": 108.545,
"s": 64.706,
"l": 33.333
},
"oklch": {
"l": 0.56502,
"c": 0.16619,
"h": 140.4
},
"luminance": 0.19554
}Semantic roles & 50–950 ramp
primary
#338C1E
secondary
#A64BBB
accent
#40E8C8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A