#337038#337038

#337038 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.107 H 145.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#337038
RGBrgb(51, 112, 56)
HSLhsl(125, 37%, 32%)
HSVhsv(125, 54%, 44%)
CMYKcmyk(54.5%, 0%, 50%, 56.1%)
CIE-LABlab(42.12, -32.56, 25.15)
CIE-LCHlch(42.12, 41.14, 142.31°)
OKLaboklab(48.99% -0.0884 0.0612)
OKLCHoklch(48.99% 0.107 145.3)
XYZxyz(7.8728, 12.5770, 5.7534)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337038 #70336B
analogous
#4D7033 #337038 #337057
triadic
#337038 #383370 #703833
tetradic
#337038 #334D70 #70336B #705733
square
#337038 #334D70 #70336B #705733
split-complementary
#337038 #573370 #70334D
monochromatic
#0D1C0E #204623 #337038 #469A4D #65B96C

Accessibility & contrast

On white

5.97
#337038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#337038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337038
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337038#FFFFFF#000000##FFFFFF
##3370381.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726733
Deuteranopia (green-blind)
#69613C
Tritanopia (blue-blind)
#296D63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337038;
/* rgb */ color: rgb(51, 112, 56);
/* oklch */ color: oklch(49.0% 0.107 145.3);
Tailwind
colors: {
  custom: {
    50: '#709970',
    500: '#337038',
    950: '#000000',
  },
}
SCSS
$custom: #337038;
$custom-light: #709970;
$custom-dark: #000000;
JSON
{
  "hex": "#337038",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 56
  },
  "hsl": {
    "h": 124.918,
    "s": 37.423,
    "l": 31.961
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.10747,
    "h": 145.3
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#337038
secondary
#A15E9B
accent
#5AC4CD
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #337038

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

Preview Lab → · Contrast checker → · Palette generator →

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