#338646#338646

#338646 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.126 H 148.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#338646
RGBrgb(51, 134, 70)
HSLhsl(134, 45%, 36%)
HSVhsv(134, 62%, 53%)
CMYKcmyk(61.9%, 0%, 47.8%, 47.5%)
CIE-LABlab(49.73, -39.70, 27.10)
CIE-LCHlch(49.73, 48.07, 145.68°)
OKLaboklab(55.32% -0.1073 0.0663)
OKLCHoklch(55.32% 0.126 148.3)
XYZxyz(10.9951, 18.1951, 8.7258)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338646 #863373
analogous
#4A8633 #338646 #338670
triadic
#338646 #463386 #864633
tetradic
#338646 #334A86 #863373 #867033
square
#338646 #334A86 #863373 #867033
split-complementary
#338646 #703386 #86334A
monochromatic
#112D18 #225A2F #338646 #44B25D #6CC781

Accessibility & contrast

On white

4.53
#338646 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#338646 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338646
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338646#FFFFFF#000000##000000
##3386461.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B41
Deuteranopia (green-blind)
#7D734A
Tritanopia (blue-blind)
#1D8377
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338646;
/* rgb */ color: rgb(51, 134, 70);
/* oklch */ color: oklch(55.3% 0.126 148.3);
Tailwind
colors: {
  custom: {
    50: '#74aa7a',
    500: '#338646',
    950: '#000000',
  },
}
SCSS
$custom: #338646;
$custom-light: #74aa7a;
$custom-dark: #000000;
JSON
{
  "hex": "#338646",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 70
  },
  "hsl": {
    "h": 133.735,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.12611,
    "h": 148.3
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338646

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

Preview Lab → · Contrast checker → · Palette generator →

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