#338F55#338F55

#338F55 is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.0% C 0.124 H 152.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#338F55
RGBrgb(51, 143, 85)
HSLhsl(142, 47%, 38%)
HSVhsv(142, 64%, 56%)
CMYKcmyk(64.3%, 0%, 40.6%, 43.9%)
CIE-LABlab(52.95, -40.75, 23.07)
CIE-LCHlch(52.95, 46.83, 150.48°)
OKLaboklab(58.05% -0.1102 0.0574)
OKLCHoklch(58.05% 0.124 152.5)
XYZxyz(12.8264, 21.0033, 11.9707)
Luminance0.2100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F55 #8F336D
analogous
#3F8F33 #338F55 #338F83
triadic
#338F55 #55338F #8F5533
tetradic
#338F55 #333F8F #8F336D #8F8333
square
#338F55 #333F8F #8F336D #8F8333
split-complementary
#338F55 #83338F #8F333F
monochromatic
#13351F #23623A #338F55 #43BC70 #70CC92

Accessibility & contrast

On white

4.04
#338F55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#338F55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F55
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F55#FFFFFF#000000##000000
##338F551.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8351
Deuteranopia (green-blind)
#837B59
Tritanopia (blue-blind)
#0E8D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338f55;
/* rgb */ color: rgb(51, 143, 85);
/* oklch */ color: oklch(58.0% 0.124 152.5);
Tailwind
colors: {
  custom: {
    50: '#75b085',
    500: '#338f55',
    950: '#000000',
  },
}
SCSS
$custom: #338f55;
$custom-light: #75b085;
$custom-dark: #000000;
JSON
{
  "hex": "#338f55",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 85
  },
  "hsl": {
    "h": 142.174,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.12424,
    "h": 152.5
  },
  "luminance": 0.21005
}

Semantic roles & 50–950 ramp

primary
#338F55
secondary
#B46A99
accent
#51A5D7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #338F55

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

Preview Lab → · Contrast checker → · Palette generator →

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