#338137#338137

#338137 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.133 H 144.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#338137
RGBrgb(51, 129, 55)
HSLhsl(123, 43%, 35%)
HSVhsv(123, 60%, 51%)
CMYKcmyk(60.5%, 0%, 57.4%, 49.4%)
CIE-LABlab(47.85, -39.94, 32.69)
CIE-LCHlch(47.85, 51.61, 140.70°)
OKLaboklab(53.7% -0.1083 0.0778)
OKLCHoklch(53.7% 0.133 144.3)
XYZxyz(9.9045, 16.6793, 6.3112)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338137 #81337D
analogous
#568133 #338137 #33815E
triadic
#338137 #373381 #813733
tetradic
#338137 #335681 #81337D #815E33
square
#338137 #335681 #81337D #815E33
split-complementary
#338137 #5E3381 #813356
monochromatic
#102912 #225524 #338137 #44AD4A #6AC46F

Accessibility & contrast

On white

4.84
#338137 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#338137 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338137
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338137#FFFFFF#000000##FFFFFF
##3381371.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837630
Deuteranopia (green-blind)
#796F3D
Tritanopia (blue-blind)
#247E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338137;
/* rgb */ color: rgb(51, 129, 55);
/* oklch */ color: oklch(53.7% 0.133 144.3);
Tailwind
colors: {
  custom: {
    50: '#73a670',
    500: '#338137',
    950: '#000000',
  },
}
SCSS
$custom: #338137;
$custom-light: #73a670;
$custom-dark: #000000;
JSON
{
  "hex": "#338137",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 123.077,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.1334,
    "h": 144.3
  },
  "luminance": 0.1668
}

Semantic roles & 50–950 ramp

primary
#338137
secondary
#AC64A8
accent
#55CDD3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #338137

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

Preview Lab → · Contrast checker → · Palette generator →

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