#337823#337823

#337823 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.138 H 140.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#337823
RGBrgb(51, 120, 35)
HSLhsl(109, 55%, 30%)
HSVhsv(109, 71%, 47%)
CMYKcmyk(57.5%, 0%, 70.8%, 52.9%)
CIE-LABlab(44.60, -38.63, 38.56)
CIE-LCHlch(44.60, 54.58, 135.05°)
OKLaboklab(50.96% -0.1059 0.0883)
OKLCHoklch(50.96% 0.138 140.2)
XYZxyz(8.3847, 14.2574, 3.8999)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337823 #682378
analogous
#5D7823 #337823 #23783D
triadic
#337823 #233378 #782333
tetradic
#337823 #235D78 #682378 #783D23
square
#337823 #235D78 #682378 #783D23
split-complementary
#337823 #3D2378 #78235D
monochromatic
#0B1907 #1F4915 #337823 #47A731 #63CA4B

Accessibility & contrast

On white

5.45
#337823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#337823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337823
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337823#FFFFFF#000000##FFFFFF
##3378231.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D17
Deuteranopia (green-blind)
#73672B
Tritanopia (blue-blind)
#2B7467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #337823;
/* rgb */ color: rgb(51, 120, 35);
/* oklch */ color: oklch(51.0% 0.138 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a063',
    500: '#337823',
    950: '#000000',
  },
}
SCSS
$custom: #337823;
$custom-light: #73a063;
$custom-dark: #000000;
JSON
{
  "hex": "#337823",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 108.706,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.1379,
    "h": 140.2
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#337823
secondary
#994CAB
accent
#4ADEC2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F05
muted
#7B7E7A

Preview Lab

Preview with #337823

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

Preview Lab → · Contrast checker → · Palette generator →

#337823 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva