#336A4E#336A4E
#336A4E is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.8% C 0.075 H 159.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #336A4E |
|---|---|
| RGB | rgb(51, 106, 78) |
| HSL | hsl(149, 35%, 31%) |
| HSV | hsv(149, 52%, 42%) |
| CMYK | cmyk(51.9%, 0%, 26.4%, 58.4%) |
| CIE-LAB | lab(40.51, -25.43, 10.24) |
| CIE-LCH | lch(40.51, 27.41, 158.07°) |
| OKLab | oklab(47.82% -0.07 0.0262) |
| OKLCH | oklch(47.82% 0.075 159.5) |
| XYZ | xyz(7.8938, 11.5613, 9.0218) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 5.39
Spruce
#0A5F38
ΔE00 6.24
Pine
#2B5D34
ΔE00 6.47
Dark Green Blue
#1F6357
ΔE00 6.82
Forest Green
#2D5A27
ΔE00 9.41
Dark Sea Green
#11875D
ΔE00 10.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336A4E #6A334F
analogous
#336A33 #336A4E #336A69
triadic
#336A4E #4E336A #6A4E33
tetradic
#336A4E #33336A #6A334F #6A6933
square
#336A4E #33336A #6A334F #6A6933
split-complementary
#336A4E #69336A #6A3333
monochromatic
#0B1711 #1F4130 #336A4E #47936C #63B48B
Accessibility & contrast
On white
6.34
#336A4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#336A4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336A4E
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336A4E | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69634C
Deuteranopia (green-blind)
#615D50
Tritanopia (blue-blind)
#236A62
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #336a4e; /* rgb */ color: rgb(51, 106, 78); /* oklch */ color: oklch(47.8% 0.075 159.5);
Tailwind
colors: {
custom: {
50: '#6f957f',
500: '#336a4e',
950: '#000000',
},
}SCSS
$custom: #336a4e; $custom-light: #6f957f; $custom-dark: #000000;
JSON
{
"hex": "#336a4e",
"rgb": {
"r": 51,
"g": 106,
"b": 78
},
"hsl": {
"h": 149.455,
"s": 35.032,
"l": 30.784
},
"oklch": {
"l": 0.47817,
"c": 0.07473,
"h": 159.5
},
"luminance": 0.11562
}Semantic roles & 50–950 ramp
primary
#336A4E
secondary
#9B5E7D
accent
#5D95CB
background
#F6F9F7
surface
#ECF1EE
border
#C7CBC9
text
#070D0A
muted
#7A7E7C