#338746#338746

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

Color values

HEX#338746
RGBrgb(51, 135, 70)
HSLhsl(134, 45%, 36%)
HSVhsv(134, 62%, 53%)
CMYKcmyk(62.2%, 0%, 48.1%, 47.1%)
CIE-LABlab(50.06, -40.11, 27.53)
CIE-LCHlch(50.06, 48.65, 145.54°)
OKLaboklab(55.59% -0.1084 0.0672)
OKLCHoklch(55.59% 0.128 148.2)
XYZxyz(11.1339, 18.4729, 8.7720)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338746 #873374
analogous
#4A8733 #338746 #338770
triadic
#338746 #463387 #874633
tetradic
#338746 #334A87 #873374 #877033
square
#338746 #334A87 #873374 #877033
split-complementary
#338746 #703387 #87334A
monochromatic
#112E18 #225B2F #338746 #44B35D #6DC881

Accessibility & contrast

On white

4.47
#338746 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338746#FFFFFF#000000##000000
##3387461.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C41
Deuteranopia (green-blind)
#7D744A
Tritanopia (blue-blind)
#1D8478
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338746;
/* rgb */ color: rgb(51, 135, 70);
/* oklch */ color: oklch(55.6% 0.128 148.2);
Tailwind
colors: {
  custom: {
    50: '#74ab7a',
    500: '#338746',
    950: '#000000',
  },
}
SCSS
$custom: #338746;
$custom-light: #74ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#338746",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 70
  },
  "hsl": {
    "h": 133.571,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.12756,
    "h": 148.2
  },
  "luminance": 0.18474
}

Semantic roles & 50–950 ramp

primary
#338746
secondary
#B0669F
accent
#53B7D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338746

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

Preview Lab → · Contrast checker → · Palette generator →

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