#337815#337815

#337815 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.147 H 138.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#337815
RGBrgb(51, 120, 21)
HSLhsl(102, 70%, 28%)
HSVhsv(102, 83%, 47%)
CMYKcmyk(57.5%, 0%, 82.5%, 52.9%)
CIE-LABlab(44.50, -39.71, 43.81)
CIE-LCHlch(44.50, 59.13, 132.19°)
OKLaboklab(50.85% -0.1097 0.0972)
OKLCHoklch(50.85% 0.147 138.5)
XYZxyz(8.2168, 14.1902, 3.0153)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337815 #5A1578
analogous
#657815 #337815 #157828
triadic
#337815 #153378 #781533
tetradic
#337815 #156578 #5A1578 #782815
square
#337815 #156578 #5A1578 #782815
split-complementary
#337815 #281578 #781565
monochromatic
#0B1A05 #1D440C #337815 #49AC1E #62DA2D

Accessibility & contrast

On white

5.47
#337815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#337815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337815
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337815#FFFFFF#000000##FFFFFF
##3378151.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#2D7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #337815;
/* rgb */ color: rgb(51, 120, 21);
/* oklch */ color: oklch(50.8% 0.147 138.5);
Tailwind
colors: {
  custom: {
    50: '#73a05c',
    500: '#337815',
    950: '#000000',
  },
}
SCSS
$custom: #337815;
$custom-light: #73a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#337815",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 101.818,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.14661,
    "h": 138.5
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#337815
secondary
#8B3BAE
accent
#3BEDB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #337815

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

Preview Lab → · Contrast checker → · Palette generator →

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