#338E53#338E53

#338E53 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.125 H 151.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#338E53
RGBrgb(51, 142, 83)
HSLhsl(141, 47%, 38%)
HSVhsv(141, 64%, 56%)
CMYKcmyk(64.1%, 0%, 41.5%, 44.3%)
CIE-LABlab(52.59, -40.71, 23.70)
CIE-LCHlch(52.59, 47.10, 149.80°)
OKLaboklab(57.74% -0.11 0.0588)
OKLCHoklch(57.74% 0.125 151.9)
XYZxyz(12.5986, 20.6731, 11.5083)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E53 #8E336E
analogous
#408E33 #338E53 #338E80
triadic
#338E53 #53338E #8E5333
tetradic
#338E53 #33408E #8E336E #8E8033
square
#338E53 #33408E #8E336E #8E8033
split-complementary
#338E53 #80338E #8E3340
monochromatic
#13341E #236139 #338E53 #43BB6D #70CC90

Accessibility & contrast

On white

4.09
#338E53 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#338E53 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E53
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E53#FFFFFF#000000##000000
##338E531.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824F
Deuteranopia (green-blind)
#837A57
Tritanopia (blue-blind)
#108C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338e53;
/* rgb */ color: rgb(51, 142, 83);
/* oklch */ color: oklch(57.7% 0.125 151.9);
Tailwind
colors: {
  custom: {
    50: '#75b084',
    500: '#338e53',
    950: '#000000',
  },
}
SCSS
$custom: #338e53;
$custom-light: #75b084;
$custom-dark: #000000;
JSON
{
  "hex": "#338e53",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 83
  },
  "hsl": {
    "h": 141.099,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.12478,
    "h": 151.9
  },
  "luminance": 0.20674
}

Semantic roles & 50–950 ramp

primary
#338E53
secondary
#B46999
accent
#51A8D7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338E53

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

Preview Lab → · Contrast checker → · Palette generator →

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