#338C55#338C55

#338C55 is a mid, moderate green. Relative luminance 0.201; OKLCH L 57.2% C 0.120 H 153.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#338C55
RGBrgb(51, 140, 85)
HSLhsl(143, 47%, 37%)
HSVhsv(143, 64%, 55%)
CMYKcmyk(63.6%, 0%, 39.3%, 45.1%)
CIE-LABlab(51.97, -39.49, 21.77)
CIE-LCHlch(51.97, 45.10, 151.14°)
OKLaboklab(57.24% -0.1069 0.0543)
OKLCHoklch(57.24% 0.12 153.1)
XYZxyz(12.3820, 20.1146, 11.8225)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C55 #8C336A
analogous
#3E8C33 #338C55 #338C81
triadic
#338C55 #55338C #8C5533
tetradic
#338C55 #333E8C #8C336A #8C8133
square
#338C55 #333E8C #8C336A #8C8133
split-complementary
#338C55 #81338C #8C333E
monochromatic
#12321F #235F3A #338C55 #43B970 #6FCB92

Accessibility & contrast

On white

4.18
#338C55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#338C55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C55
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C55#FFFFFF#000000##000000
##338C551.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8151
Deuteranopia (green-blind)
#807959
Tritanopia (blue-blind)
#108A7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338c55;
/* rgb */ color: rgb(51, 140, 85);
/* oklch */ color: oklch(57.2% 0.120 153.1);
Tailwind
colors: {
  custom: {
    50: '#74ae85',
    500: '#338c55',
    950: '#000000',
  },
}
SCSS
$custom: #338c55;
$custom-light: #74ae85;
$custom-dark: #000000;
JSON
{
  "hex": "#338c55",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 85
  },
  "hsl": {
    "h": 142.921,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.11989,
    "h": 153.1
  },
  "luminance": 0.20116
}

Semantic roles & 50–950 ramp

primary
#338C55
secondary
#B26896
accent
#52A4D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338C55

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

Preview Lab → · Contrast checker → · Palette generator →

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