#338F59#338F59

#338F59 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.1% C 0.120 H 154.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#338F59
RGBrgb(51, 143, 89)
HSLhsl(145, 47%, 38%)
HSVhsv(145, 64%, 56%)
CMYKcmyk(64.3%, 0%, 37.8%, 43.9%)
CIE-LABlab(53.02, -39.97, 20.95)
CIE-LCHlch(53.02, 45.13, 152.34°)
OKLaboklab(58.13% -0.1083 0.0525)
OKLCHoklch(58.13% 0.12 154.1)
XYZxyz(12.9898, 21.0687, 12.8314)
Luminance0.2107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F59 #8F3369
analogous
#3B8F33 #338F59 #338F87
triadic
#338F59 #59338F #8F5933
tetradic
#338F59 #333B8F #8F3369 #8F8733
square
#338F59 #333B8F #8F3369 #8F8733
split-complementary
#338F59 #87338F #8F333B
monochromatic
#133521 #23623D #338F59 #43BC75 #70CC96

Accessibility & contrast

On white

4.03
#338F59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#338F59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F59
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F59#FFFFFF#000000##000000
##338F591.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8455
Deuteranopia (green-blind)
#837B5C
Tritanopia (blue-blind)
#098D81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338f59;
/* rgb */ color: rgb(51, 143, 89);
/* oklch */ color: oklch(58.1% 0.120 154.1);
Tailwind
colors: {
  custom: {
    50: '#75b088',
    500: '#338f59',
    950: '#000000',
  },
}
SCSS
$custom: #338f59;
$custom-light: #75b088;
$custom-dark: #000000;
JSON
{
  "hex": "#338f59",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 89
  },
  "hsl": {
    "h": 144.783,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58129,
    "c": 0.1203,
    "h": 154.1
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#338F59
secondary
#B46A95
accent
#51A0D7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #338F59

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

Preview Lab → · Contrast checker → · Palette generator →

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