#336F23#336F23

#336F23 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.126 H 139.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#336F23
RGBrgb(51, 111, 35)
HSLhsl(107, 52%, 29%)
HSVhsv(107, 68%, 44%)
CMYKcmyk(54.1%, 0%, 68.5%, 56.5%)
CIE-LABlab(41.52, -34.89, 35.25)
CIE-LCHlch(41.52, 49.60, 134.71°)
OKLaboklab(48.42% -0.0958 0.0813)
OKLCHoklch(48.42% 0.126 139.7)
XYZxyz(7.3528, 12.1935, 3.5559)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F23 #5F236F
analogous
#596F23 #336F23 #236F39
triadic
#336F23 #23336F #6F2333
tetradic
#336F23 #23596F #5F236F #6F3923
square
#336F23 #23596F #5F236F #6F3923
split-complementary
#336F23 #39236F #6F2359
monochromatic
#0B1707 #1E4014 #336F23 #489E32 #62C547

Accessibility & contrast

On white

6.11
#336F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#336F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F23
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F23#FFFFFF#000000##FFFFFF
##336F231.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726519
Deuteranopia (green-blind)
#6A602A
Tritanopia (blue-blind)
#2D6B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f23;
/* rgb */ color: rgb(51, 111, 35);
/* oklch */ color: oklch(48.4% 0.126 139.7);
Tailwind
colors: {
  custom: {
    50: '#719962',
    500: '#336f23',
    950: '#000000',
  },
}
SCSS
$custom: #336f23;
$custom-light: #719962;
$custom-dark: #000000;
JSON
{
  "hex": "#336f23",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 107.368,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.12567,
    "h": 139.7
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#336F23
secondary
#904CA2
accent
#4CDBBD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #336F23

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

Preview Lab → · Contrast checker → · Palette generator →

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