#337F23#337F23

#337F23 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.147 H 140.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#337F23
RGBrgb(51, 127, 35)
HSLhsl(110, 57%, 32%)
HSVhsv(110, 72%, 50%)
CMYKcmyk(59.8%, 0%, 72.4%, 50.2%)
CIE-LABlab(46.98, -41.41, 41.06)
CIE-LCHlch(46.98, 58.31, 135.24°)
OKLaboklab(52.92% -0.1134 0.0935)
OKLCHoklch(52.92% 0.147 140.5)
XYZxyz(9.2576, 16.0031, 4.1908)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F23 #6F237F
analogous
#617F23 #337F23 #237F41
triadic
#337F23 #23337F #7F2333
tetradic
#337F23 #23617F #6F237F #7F4123
square
#337F23 #23617F #6F237F #7F4123
split-complementary
#337F23 #41237F #7F2361
monochromatic
#0C1F09 #204F16 #337F23 #46AF30 #64CE4E

Accessibility & contrast

On white

5.00
#337F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#337F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F23
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F23#FFFFFF#000000##FFFFFF
##337F231.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#297B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f23;
/* rgb */ color: rgb(51, 127, 35);
/* oklch */ color: oklch(52.9% 0.147 140.5);
Tailwind
colors: {
  custom: {
    50: '#74a564',
    500: '#337f23',
    950: '#000000',
  },
}
SCSS
$custom: #337f23;
$custom-light: #74a564;
$custom-dark: #000000;
JSON
{
  "hex": "#337f23",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 109.565,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.14703,
    "h": 140.5
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

primary
#337F23
secondary
#A04CB1
accent
#48E0C6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337F23

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

Preview Lab → · Contrast checker → · Palette generator →

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