#337C23#337C23

#337C23 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.143 H 140.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#337C23
RGBrgb(51, 124, 35)
HSLhsl(109, 56%, 31%)
HSVhsv(109, 72%, 49%)
CMYKcmyk(58.9%, 0%, 71.8%, 51.4%)
CIE-LABlab(45.96, -40.23, 39.99)
CIE-LCHlch(45.96, 56.72, 135.17°)
OKLaboklab(52.08% -0.1102 0.0913)
OKLCHoklch(52.08% 0.143 140.4)
XYZxyz(8.8759, 15.2397, 4.0636)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C23 #6C237C
analogous
#5F7C23 #337C23 #237C3F
triadic
#337C23 #23337C #7C2333
tetradic
#337C23 #235F7C #6C237C #7C3F23
square
#337C23 #235F7C #6C237C #7C3F23
split-complementary
#337C23 #3F237C #7C235F
monochromatic
#0C1D08 #1F4C16 #337C23 #47AC30 #64CD4D

Accessibility & contrast

On white

5.19
#337C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#337C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C23
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C23#FFFFFF#000000##FFFFFF
##337C231.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7116
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#2A786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c23;
/* rgb */ color: rgb(51, 124, 35);
/* oklch */ color: oklch(52.1% 0.143 140.4);
Tailwind
colors: {
  custom: {
    50: '#73a363',
    500: '#337c23',
    950: '#000000',
  },
}
SCSS
$custom: #337c23;
$custom-light: #73a363;
$custom-dark: #000000;
JSON
{
  "hex": "#337c23",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 109.213,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52078,
    "c": 0.14315,
    "h": 140.4
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#337C23
secondary
#9D4CAF
accent
#49DFC4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337C23

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

Preview Lab → · Contrast checker → · Palette generator →

#337C23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva