#338839#338839

#338839 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.7% C 0.141 H 144.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#338839
RGBrgb(51, 136, 57)
HSLhsl(124, 45%, 37%)
HSVhsv(124, 63%, 53%)
CMYKcmyk(62.5%, 0%, 58.1%, 46.7%)
CIE-LABlab(50.22, -42.47, 34.49)
CIE-LCHlch(50.22, 54.71, 140.92°)
OKLaboklab(55.67% -0.1151 0.0819)
OKLCHoklch(55.67% 0.141 144.6)
XYZxyz(10.9073, 18.6065, 6.8867)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338839 #883382
analogous
#588833 #338839 #338864
triadic
#338839 #393388 #883933
tetradic
#338839 #335888 #883382 #886433
square
#338839 #335888 #883382 #886433
split-complementary
#338839 #643388 #883358
monochromatic
#122F14 #225B26 #338839 #44B54C #6DC874

Accessibility & contrast

On white

4.45
#338839 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#338839 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338839
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338839#FFFFFF#000000##000000
##3388391.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C31
Deuteranopia (green-blind)
#80753F
Tritanopia (blue-blind)
#218476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338839;
/* rgb */ color: rgb(51, 136, 57);
/* oklch */ color: oklch(55.7% 0.141 144.6);
Tailwind
colors: {
  custom: {
    50: '#75ab72',
    500: '#338839',
    950: '#000000',
  },
}
SCSS
$custom: #338839;
$custom-light: #75ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#338839",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 57
  },
  "hsl": {
    "h": 124.235,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55665,
    "c": 0.14129,
    "h": 144.6
  },
  "luminance": 0.18608
}

Semantic roles & 50–950 ramp

primary
#338839
secondary
#B067AB
accent
#53CCD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #338839

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

Preview Lab → · Contrast checker → · Palette generator →

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