#336F19#336F19
#336F19 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.133 H 138.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #336F19 |
|---|---|
| RGB | rgb(51, 111, 25) |
| HSL | hsl(102, 63%, 27%) |
| HSV | hsv(102, 77%, 44%) |
| CMYK | cmyk(54.1%, 0%, 77.5%, 56.5%) |
| CIE-LAB | lab(41.44, -35.79, 39.43) |
| CIE-LCH | lch(41.44, 53.25, 132.23°) |
| OKLab | oklab(48.33% -0.0989 0.0887) |
| OKLCH | oklch(48.33% 0.133 138.1) |
| XYZ | xyz(7.2249, 12.1423, 2.8825) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.25
Tree Green
#2A7E19
ΔE00 5.33
Darkish Green
#287C37
ΔE00 6.40
Dark Grass Green
#388004
ΔE00 6.59
Green
#008000
ΔE00 6.85
Darkolivegreen
#556B2F
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F19 #55196F
analogous
#5E6F19 #336F19 #196F2A
triadic
#336F19 #19336F #6F1933
tetradic
#336F19 #195E6F #55196F #6F2A19
square
#336F19 #195E6F #55196F #6F2A19
split-complementary
#336F19 #2A196F #6F195E
monochromatic
#0B1906 #1C3D0E #336F19 #4AA124 #62D132
Accessibility & contrast
On white
6.12
#336F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#336F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F19
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F19 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#2E6B5E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f19; /* rgb */ color: rgb(51, 111, 25); /* oklch */ color: oklch(48.3% 0.133 138.1);
Tailwind
colors: {
custom: {
50: '#72995c',
500: '#336f19',
950: '#000000',
},
}SCSS
$custom: #336f19; $custom-light: #72995c; $custom-dark: #000000;
JSON
{
"hex": "#336f19",
"rgb": {
"r": 51,
"g": 111,
"b": 25
},
"hsl": {
"h": 101.86,
"s": 63.235,
"l": 26.667
},
"oklch": {
"l": 0.48329,
"c": 0.13286,
"h": 138.1
},
"luminance": 0.12143
}Semantic roles & 50–950 ramp
primary
#336F19
secondary
#863FA4
accent
#42E6B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79