#337B23#337B23

#337B23 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.142 H 140.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#337B23
RGBrgb(51, 123, 35)
HSLhsl(109, 56%, 31%)
HSVhsv(109, 72%, 48%)
CMYKcmyk(58.5%, 0%, 71.5%, 51.8%)
CIE-LABlab(45.62, -39.83, 39.64)
CIE-LCHlch(45.62, 56.19, 135.14°)
OKLaboklab(51.8% -0.1092 0.0906)
OKLCHoklch(51.8% 0.142 140.3)
XYZxyz(8.7512, 14.9903, 4.0220)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B23 #6B237B
analogous
#5F7B23 #337B23 #237B3F
triadic
#337B23 #23337B #7B2333
tetradic
#337B23 #235F7B #6B237B #7B3F23
square
#337B23 #235F7B #6B237B #7B3F23
split-complementary
#337B23 #3F237B #7B235F
monochromatic
#0B1C08 #1F4B15 #337B23 #47AB31 #64CC4C

Accessibility & contrast

On white

5.25
#337B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#337B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B23
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B23#FFFFFF#000000##FFFFFF
##337B231.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7016
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#2A7769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b23;
/* rgb */ color: rgb(51, 123, 35);
/* oklch */ color: oklch(51.8% 0.142 140.3);
Tailwind
colors: {
  custom: {
    50: '#73a263',
    500: '#337b23',
    950: '#000000',
  },
}
SCSS
$custom: #337b23;
$custom-light: #73a263;
$custom-dark: #000000;
JSON
{
  "hex": "#337b23",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 109.091,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.14185,
    "h": 140.3
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

primary
#337B23
secondary
#9C4CAE
accent
#49DFC4
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337B23

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

Preview Lab → · Contrast checker → · Palette generator →

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