#338B37#338B37

#338B37 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.147 H 144.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#338B37
RGBrgb(51, 139, 55)
HSLhsl(123, 46%, 37%)
HSVhsv(123, 63%, 55%)
CMYKcmyk(63.3%, 0%, 60.4%, 45.5%)
CIE-LABlab(51.20, -43.90, 36.63)
CIE-LCHlch(51.20, 57.18, 140.16°)
OKLaboklab(56.47% -0.1191 0.0864)
OKLCHoklch(56.47% 0.147 144)
XYZxyz(11.2868, 19.4438, 6.7719)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B37 #8B3387
analogous
#5B8B33 #338B37 #338B63
triadic
#338B37 #37338B #8B3733
tetradic
#338B37 #335B8B #8B3387 #8B6333
square
#338B37 #335B8B #8B3387 #8B6333
split-complementary
#338B37 #63338B #8B335B
monochromatic
#123114 #235E25 #338B37 #43B849 #6ECA73

Accessibility & contrast

On white

4.30
#338B37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#338B37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B37
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B37#FFFFFF#000000##000000
##338B371.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2E
Deuteranopia (green-blind)
#83773E
Tritanopia (blue-blind)
#218779
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338b37;
/* rgb */ color: rgb(51, 139, 55);
/* oklch */ color: oklch(56.5% 0.147 144.0);
Tailwind
colors: {
  custom: {
    50: '#75ae71',
    500: '#338b37',
    950: '#000000',
  },
}
SCSS
$custom: #338b37;
$custom-light: #75ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#338b37",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 55
  },
  "hsl": {
    "h": 122.727,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.14711,
    "h": 144
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#338B37
secondary
#B268AF
accent
#52D0D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #338B37

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

Preview Lab → · Contrast checker → · Palette generator →

#338B37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva