#337825#337825

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

Color values

HEX#337825
RGBrgb(51, 120, 37)
HSLhsl(110, 53%, 31%)
HSVhsv(110, 69%, 47%)
CMYKcmyk(57.5%, 0%, 69.2%, 52.9%)
CIE-LABlab(44.62, -38.43, 37.69)
CIE-LCHlch(44.62, 53.83, 135.56°)
OKLaboklab(50.98% -0.1052 0.0867)
OKLCHoklch(50.98% 0.136 140.5)
XYZxyz(8.4153, 14.2696, 4.0608)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337825 #6A2578
analogous
#5C7825 #337825 #257841
triadic
#337825 #253378 #782533
tetradic
#337825 #255C78 #6A2578 #784125
square
#337825 #255C78 #6A2578 #784125
split-complementary
#337825 #412578 #78255C
monochromatic
#0B1A08 #1F4917 #337825 #47A733 #63C94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337825#FFFFFF#000000##FFFFFF
##3378251.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)
#7B6D1A
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#2B7467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337825;
/* rgb */ color: rgb(51, 120, 37);
/* oklch */ color: oklch(51.0% 0.136 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a064',
    500: '#337825',
    950: '#000000',
  },
}
SCSS
$custom: #337825;
$custom-light: #72a064;
$custom-dark: #000000;
JSON
{
  "hex": "#337825",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 37
  },
  "hsl": {
    "h": 109.88,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.13639,
    "h": 140.5
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#337825
secondary
#9B4EAA
accent
#4CDCC4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #337825

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

Preview Lab → · Contrast checker → · Palette generator →

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