#336E23#336E23

#336E23 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.124 H 139.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#336E23
RGBrgb(51, 110, 35)
HSLhsl(107, 52%, 28%)
HSVhsv(107, 68%, 43%)
CMYKcmyk(53.6%, 0%, 68.2%, 56.9%)
CIE-LABlab(41.18, -34.47, 34.87)
CIE-LCHlch(41.18, 49.03, 134.66°)
OKLaboklab(48.14% -0.0946 0.0806)
OKLCHoklch(48.14% 0.124 139.6)
XYZxyz(7.2443, 11.9765, 3.5197)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E23 #5E236E
analogous
#586E23 #336E23 #236E38
triadic
#336E23 #23336E #6E2333
tetradic
#336E23 #23586E #5E236E #6E3823
square
#336E23 #23586E #5E236E #6E3823
split-complementary
#336E23 #38236E #6E2358
monochromatic
#0B1707 #1D4014 #336E23 #499C32 #62C447

Accessibility & contrast

On white

6.18
#336E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#336E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E23
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E23#FFFFFF#000000##FFFFFF
##336E231.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641A
Deuteranopia (green-blind)
#695F29
Tritanopia (blue-blind)
#2D6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e23;
/* rgb */ color: rgb(51, 110, 35);
/* oklch */ color: oklch(48.1% 0.124 139.6);
Tailwind
colors: {
  custom: {
    50: '#719862',
    500: '#336e23',
    950: '#000000',
  },
}
SCSS
$custom: #336e23;
$custom-light: #719862;
$custom-dark: #000000;
JSON
{
  "hex": "#336e23",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 35
  },
  "hsl": {
    "h": 107.2,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.12428,
    "h": 139.6
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

primary
#336E23
secondary
#8F4CA1
accent
#4DDBBD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #336E23

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

Preview Lab → · Contrast checker → · Palette generator →

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