#338745#338745

#338745 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.129 H 147.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338745
RGBrgb(51, 135, 69)
HSLhsl(133, 45%, 36%)
HSVhsv(133, 62%, 53%)
CMYKcmyk(62.2%, 0%, 48.9%, 47.1%)
CIE-LABlab(50.05, -40.28, 28.04)
CIE-LCHlch(50.05, 49.08, 145.15°)
OKLaboklab(55.57% -0.1089 0.0684)
OKLCHoklch(55.57% 0.129 147.9)
XYZxyz(11.1026, 18.4604, 8.6072)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338745 #873375
analogous
#4B8733 #338745 #33876F
triadic
#338745 #453387 #874533
tetradic
#338745 #334B87 #873375 #876F33
square
#338745 #334B87 #873375 #876F33
split-complementary
#338745 #6F3387 #87334B
monochromatic
#112E18 #225B2E #338745 #44B35C #6DC880

Accessibility & contrast

On white

4.48
#338745 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#338745 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338745
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338745#FFFFFF#000000##000000
##3387451.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C40
Deuteranopia (green-blind)
#7E744A
Tritanopia (blue-blind)
#1D8477
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338745;
/* rgb */ color: rgb(51, 135, 69);
/* oklch */ color: oklch(55.6% 0.129 147.9);
Tailwind
colors: {
  custom: {
    50: '#74ab7a',
    500: '#338745',
    950: '#000000',
  },
}
SCSS
$custom: #338745;
$custom-light: #74ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#338745",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 69
  },
  "hsl": {
    "h": 132.857,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.12854,
    "h": 147.9
  },
  "luminance": 0.18461
}

Semantic roles & 50–950 ramp

primary
#338745
secondary
#B066A0
accent
#53B9D5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338745

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

Preview Lab → · Contrast checker → · Palette generator →

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