#338B59#338B59

#338B59 is a mid, moderate green. Relative luminance 0.199; OKLCH L 57.1% C 0.114 H 155.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#338B59
RGBrgb(51, 139, 89)
HSLhsl(146, 46%, 37%)
HSVhsv(146, 63%, 55%)
CMYKcmyk(63.3%, 0%, 36%, 45.5%)
CIE-LABlab(51.71, -38.27, 19.19)
CIE-LCHlch(51.71, 42.81, 153.37°)
OKLaboklab(57.05% -0.1038 0.0482)
OKLCHoklch(57.05% 0.114 155.1)
XYZxyz(12.4000, 19.8891, 12.6348)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B59 #8B3365
analogous
#398B33 #338B59 #338B85
triadic
#338B59 #59338B #8B5933
tetradic
#338B59 #33398B #8B3365 #8B8533
square
#338B59 #33398B #8B3365 #8B8533
split-complementary
#338B59 #85338B #8B3339
monochromatic
#123120 #235E3C #338B59 #43B876 #6ECA96

Accessibility & contrast

On white

4.22
#338B59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#338B59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B59
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B59#FFFFFF#000000##000000
##338B591.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8056
Deuteranopia (green-blind)
#7F785C
Tritanopia (blue-blind)
#0D8A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338b59;
/* rgb */ color: rgb(51, 139, 89);
/* oklch */ color: oklch(57.1% 0.114 155.1);
Tailwind
colors: {
  custom: {
    50: '#74ad88',
    500: '#338b59',
    950: '#000000',
  },
}
SCSS
$custom: #338b59;
$custom-light: #74ad88;
$custom-dark: #000000;
JSON
{
  "hex": "#338b59",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 89
  },
  "hsl": {
    "h": 145.909,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57051,
    "c": 0.11448,
    "h": 155.1
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#338B59
secondary
#B26892
accent
#529DD6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338B59

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

Preview Lab → · Contrast checker → · Palette generator →

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