#338C59#338C59

#338C59 is a mid, moderate green. Relative luminance 0.202; OKLCH L 57.3% C 0.116 H 154.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#338C59
RGBrgb(51, 140, 89)
HSLhsl(146, 47%, 37%)
HSVhsv(146, 64%, 55%)
CMYKcmyk(63.6%, 0%, 36.4%, 45.1%)
CIE-LABlab(52.04, -38.70, 19.63)
CIE-LCHlch(52.04, 43.40, 153.10°)
OKLaboklab(57.32% -0.1049 0.0493)
OKLCHoklch(57.32% 0.116 154.8)
XYZxyz(12.5454, 20.1800, 12.6832)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C59 #8C3366
analogous
#398C33 #338C59 #338C86
triadic
#338C59 #59338C #8C5933
tetradic
#338C59 #33398C #8C3366 #8C8633
square
#338C59 #33398C #8C3366 #8C8633
split-complementary
#338C59 #86338C #8C3339
monochromatic
#123220 #235F3C #338C59 #43B976 #6FCB96

Accessibility & contrast

On white

4.17
#338C59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#338C59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C59
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C59#FFFFFF#000000##000000
##338C591.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8156
Deuteranopia (green-blind)
#80795C
Tritanopia (blue-blind)
#0C8B7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338c59;
/* rgb */ color: rgb(51, 140, 89);
/* oklch */ color: oklch(57.3% 0.116 154.8);
Tailwind
colors: {
  custom: {
    50: '#74ae88',
    500: '#338c59',
    950: '#000000',
  },
}
SCSS
$custom: #338c59;
$custom-light: #74ae88;
$custom-dark: #000000;
JSON
{
  "hex": "#338c59",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 89
  },
  "hsl": {
    "h": 145.618,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.11594,
    "h": 154.8
  },
  "luminance": 0.20181
}

Semantic roles & 50–950 ramp

primary
#338C59
secondary
#B26893
accent
#529ED6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338C59

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

Preview Lab → · Contrast checker → · Palette generator →

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