#338750#338750

#338750 is a mid, moderate green. Relative luminance 0.186; OKLCH L 55.8% C 0.118 H 151.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#338750
RGBrgb(51, 135, 80)
HSLhsl(141, 45%, 36%)
HSVhsv(141, 62%, 53%)
CMYKcmyk(62.2%, 0%, 40.7%, 47.1%)
CIE-LABlab(50.23, -38.33, 22.25)
CIE-LCHlch(50.23, 44.32, 149.87°)
OKLaboklab(55.78% -0.1037 0.0554)
OKLCHoklch(55.78% 0.118 151.9)
XYZxyz(11.4763, 18.6098, 10.5751)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338750 #87336A
analogous
#408733 #338750 #33877A
triadic
#338750 #503387 #875033
tetradic
#338750 #334087 #87336A #877A33
square
#338750 #334087 #87336A #877A33
split-complementary
#338750 #7A3387 #873340
monochromatic
#112E1B #225B36 #338750 #44B36A #6DC88C

Accessibility & contrast

On white

4.45
#338750 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#338750 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338750
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338750#FFFFFF#000000##000000
##3387501.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4C
Deuteranopia (green-blind)
#7C7454
Tritanopia (blue-blind)
#178579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338750;
/* rgb */ color: rgb(51, 135, 80);
/* oklch */ color: oklch(55.8% 0.118 151.9);
Tailwind
colors: {
  custom: {
    50: '#74ab81',
    500: '#338750',
    950: '#000000',
  },
}
SCSS
$custom: #338750;
$custom-light: #74ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#338750",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 80
  },
  "hsl": {
    "h": 140.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.11756,
    "h": 151.9
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#338750
secondary
#B06696
accent
#53A8D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338750

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

Preview Lab → · Contrast checker → · Palette generator →

#338750 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva