#336A24#336A24

#336A24 is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.118 H 139.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#336A24
RGBrgb(51, 106, 36)
HSLhsl(107, 49%, 28%)
HSVhsv(107, 66%, 42%)
CMYKcmyk(51.9%, 0%, 66%, 58.4%)
CIE-LABlab(39.81, -32.63, 32.89)
CIE-LCHlch(39.81, 46.33, 134.77°)
OKLaboklab(47.02% -0.0896 0.0765)
OKLCHoklch(47.02% 0.118 139.5)
XYZxyz(6.8374, 11.1388, 3.4584)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A24 #5B246A
analogous
#566A24 #336A24 #246A38
triadic
#336A24 #24336A #6A2433
tetradic
#336A24 #24566A #5B246A #6A3824
square
#336A24 #24566A #5B246A #6A3824
split-complementary
#336A24 #38246A #6A2456
monochromatic
#0B1708 #1D3C14 #336A24 #499834 #62C148

Accessibility & contrast

On white

6.51
#336A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#336A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A24
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A24#FFFFFF#000000##FFFFFF
##336A241.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611C
Deuteranopia (green-blind)
#665C2A
Tritanopia (blue-blind)
#2E665B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a24;
/* rgb */ color: rgb(51, 106, 36);
/* oklch */ color: oklch(47.0% 0.118 139.5);
Tailwind
colors: {
  custom: {
    50: '#709562',
    500: '#336a24',
    950: '#000000',
  },
}
SCSS
$custom: #336a24;
$custom-light: #709562;
$custom-dark: #000000;
JSON
{
  "hex": "#336a24",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 36
  },
  "hsl": {
    "h": 107.143,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.11777,
    "h": 139.5
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#336A24
secondary
#8C4D9D
accent
#4FD9BB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336A24

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#336A24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva