#338A55#338A55

#338A55 is a mid, moderate green. Relative luminance 0.195; OKLCH L 56.7% C 0.117 H 153.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#338A55
RGBrgb(51, 138, 85)
HSLhsl(143, 46%, 37%)
HSVhsv(143, 63%, 54%)
CMYKcmyk(63%, 0%, 38.4%, 45.9%)
CIE-LABlab(51.31, -38.64, 20.89)
CIE-LCHlch(51.31, 43.93, 151.60°)
OKLaboklab(56.69% -0.1047 0.0522)
OKLCHoklch(56.69% 0.117 153.5)
XYZxyz(12.0924, 19.5354, 11.7260)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A55 #8A3368
analogous
#3D8A33 #338A55 #338A81
triadic
#338A55 #55338A #8A5533
tetradic
#338A55 #333D8A #8A3368 #8A8133
square
#338A55 #333D8A #8A3368 #8A8133
split-complementary
#338A55 #81338A #8A333D
monochromatic
#12311E #225D39 #338A55 #44B771 #6EC992

Accessibility & contrast

On white

4.28
#338A55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#338A55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A55
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A55#FFFFFF#000000##000000
##338A551.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F51
Deuteranopia (green-blind)
#7E7758
Tritanopia (blue-blind)
#11887D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338a55;
/* rgb */ color: rgb(51, 138, 85);
/* oklch */ color: oklch(56.7% 0.117 153.5);
Tailwind
colors: {
  custom: {
    50: '#74ad85',
    500: '#338a55',
    950: '#000000',
  },
}
SCSS
$custom: #338a55;
$custom-light: #74ad85;
$custom-dark: #000000;
JSON
{
  "hex": "#338a55",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 85
  },
  "hsl": {
    "h": 143.448,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.11697,
    "h": 153.5
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#338A55
secondary
#B16794
accent
#52A2D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338A55

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

Preview Lab → · Contrast checker → · Palette generator →

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