#338F26#338F26
#338F26 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.165 H 141.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #338F26 |
|---|---|
| RGB | rgb(51, 143, 38) |
| HSL | hsl(113, 58%, 35%) |
| HSV | hsv(113, 73%, 56%) |
| CMYK | cmyk(64.3%, 0%, 73.4%, 43.9%) |
| CIE-LAB | lab(52.38, -47.19, 45.43) |
| CIE-LCH | lch(52.38, 65.51, 136.09°) |
| OKLab | oklab(57.39% -0.1289 0.1031) |
| OKLCH | oklch(57.39% 0.165 141.3) |
| XYZ | xyz(11.5370, 20.4875, 5.1799) |
| Luminance | 0.2049 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.00
Emerald Green
#028F1E
ΔE00 2.34
Irish Green
#019529
ΔE00 3.02
True Green
#089404
ΔE00 3.27
Kelley Green
#009337
ΔE00 3.95
Grass Green
#3F9B0B
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338F26 #82268F
analogous
#688F26 #338F26 #268F4D
triadic
#338F26 #26338F #8F2633
tetradic
#338F26 #26688F #82268F #8F4D26
square
#338F26 #26688F #82268F #8F4D26
split-complementary
#338F26 #4D268F #8F2668
monochromatic
#112E0C #225F19 #338F26 #44BF33 #6BD45C
Accessibility & contrast
On white
4.12
#338F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#338F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338F26
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338F26 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938214
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#238A7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #338f26; /* rgb */ color: rgb(51, 143, 38); /* oklch */ color: oklch(57.4% 0.165 141.3);
Tailwind
colors: {
custom: {
50: '#77b167',
500: '#338f26',
950: '#000000',
},
}SCSS
$custom: #338f26; $custom-light: #77b167; $custom-dark: #000000;
JSON
{
"hex": "#338f26",
"rgb": {
"r": 51,
"g": 143,
"b": 38
},
"hsl": {
"h": 112.571,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.57393,
"c": 0.16507,
"h": 141.3
},
"luminance": 0.20489
}Semantic roles & 50–950 ramp
primary
#338F26
secondary
#AD58B9
accent
#47E1CE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A