#338F16#338F16
#338F16 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.174 H 139.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #338F16 |
|---|---|
| RGB | rgb(51, 143, 22) |
| HSL | hsl(106, 73%, 32%) |
| HSV | hsv(106, 85%, 56%) |
| CMYK | cmyk(64.3%, 0%, 84.6%, 43.9%) |
| CIE-LAB | lab(52.29, -48.28, 50.71) |
| CIE-LCH | lch(52.29, 70.01, 133.59°) |
| OKLab | oklab(57.29% -0.1327 0.1119) |
| OKLCH | oklch(57.29% 0.174 139.9) |
| XYZ | xyz(11.3320, 20.4056, 4.1004) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.57
Forestgreen (CSS)
#228B22
ΔE00 2.79
Emerald Green
#028F1E
ΔE00 2.92
Irish Green
#019529
ΔE00 3.87
Grass Green
#3F9B0B
ΔE00 4.50
Grassy Green
#419C03
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338F16 #72168F
analogous
#6F8F16 #338F16 #168F36
triadic
#338F16 #16338F #8F1633
tetradic
#338F16 #166F8F #72168F #8F3616
square
#338F16 #166F8F #72168F #8F3616
split-complementary
#338F16 #36168F #8F166F
monochromatic
#0D2506 #205A0E #338F16 #46C41E #65E13E
Accessibility & contrast
On white
4.13
#338F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#338F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338F16
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338F16 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#268A79
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #338f16; /* rgb */ color: rgb(51, 143, 22); /* oklch */ color: oklch(57.3% 0.174 139.9);
Tailwind
colors: {
custom: {
50: '#78b160',
500: '#338f16',
950: '#000000',
},
}SCSS
$custom: #338f16; $custom-light: #78b160; $custom-dark: #000000;
JSON
{
"hex": "#338f16",
"rgb": {
"r": 51,
"g": 143,
"b": 22
},
"hsl": {
"h": 105.62,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.57288,
"c": 0.17352,
"h": 139.9
},
"luminance": 0.20407
}Semantic roles & 50–950 ramp
primary
#338F16
secondary
#A23FC1
accent
#38F0C4
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#0A1105
muted
#7C8079