#338545#338545

#338545 is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.0% C 0.126 H 148.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#338545
RGBrgb(51, 133, 69)
HSLhsl(133, 45%, 36%)
HSVhsv(133, 62%, 52%)
CMYKcmyk(61.7%, 0%, 48.1%, 47.8%)
CIE-LABlab(49.38, -39.45, 27.20)
CIE-LCHlch(49.38, 47.92, 145.41°)
OKLaboklab(55.03% -0.1066 0.0664)
OKLCHoklch(55.03% 0.126 148.1)
XYZxyz(10.8262, 17.9075, 8.5150)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338545 #853373
analogous
#4A8533 #338545 #33856E
triadic
#338545 #453385 #854533
tetradic
#338545 #334A85 #853373 #856E33
square
#338545 #334A85 #853373 #856E33
split-complementary
#338545 #6E3385 #85334A
monochromatic
#112D17 #22592E #338545 #44B15C #6CC780

Accessibility & contrast

On white

4.58
#338545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#338545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338545
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338545#FFFFFF#000000##000000
##3385451.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867A40
Deuteranopia (green-blind)
#7C7249
Tritanopia (blue-blind)
#1E8276
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338545;
/* rgb */ color: rgb(51, 133, 69);
/* oklch */ color: oklch(55.0% 0.126 148.1);
Tailwind
colors: {
  custom: {
    50: '#73a97a',
    500: '#338545',
    950: '#000000',
  },
}
SCSS
$custom: #338545;
$custom-light: #73a97a;
$custom-dark: #000000;
JSON
{
  "hex": "#338545",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 133.171,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.12565,
    "h": 148.1
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#338545
secondary
#AE659E
accent
#54B8D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338545

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

Preview Lab → · Contrast checker → · Palette generator →

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