#338845#338845

#338845 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.8% C 0.130 H 147.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#338845
RGBrgb(51, 136, 69)
HSLhsl(133, 45%, 37%)
HSVhsv(133, 63%, 53%)
CMYKcmyk(62.5%, 0%, 49.3%, 46.7%)
CIE-LABlab(50.38, -40.69, 28.46)
CIE-LCHlch(50.38, 49.66, 145.03°)
OKLaboklab(55.85% -0.11 0.0693)
OKLCHoklch(55.85% 0.13 147.8)
XYZxyz(11.2428, 18.7407, 8.6539)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338845 #883376
analogous
#4C8833 #338845 #338870
triadic
#338845 #453388 #884533
tetradic
#338845 #334C88 #883376 #887033
square
#338845 #334C88 #883376 #887033
split-complementary
#338845 #703388 #88334C
monochromatic
#122F18 #225B2E #338845 #44B55C #6DC880

Accessibility & contrast

On white

4.42
#338845 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#338845 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338845
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338845#FFFFFF#000000##000000
##3388451.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C40
Deuteranopia (green-blind)
#7F754A
Tritanopia (blue-blind)
#1D8578
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338845;
/* rgb */ color: rgb(51, 136, 69);
/* oklch */ color: oklch(55.8% 0.130 147.8);
Tailwind
colors: {
  custom: {
    50: '#74ab7a',
    500: '#338845',
    950: '#000000',
  },
}
SCSS
$custom: #338845;
$custom-light: #74ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#338845",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 69
  },
  "hsl": {
    "h": 132.706,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.12998,
    "h": 147.8
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#338845
secondary
#B067A1
accent
#53BAD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338845

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

Preview Lab → · Contrast checker → · Palette generator →

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