#338641#338641

#338641 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.2% C 0.131 H 146.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#338641
RGBrgb(51, 134, 65)
HSLhsl(130, 45%, 36%)
HSVhsv(130, 62%, 53%)
CMYKcmyk(61.9%, 0%, 51.5%, 47.5%)
CIE-LABlab(49.66, -40.51, 29.69)
CIE-LCHlch(49.66, 50.22, 143.76°)
OKLaboklab(55.23% -0.1095 0.0719)
OKLCHoklch(55.23% 0.131 146.7)
XYZxyz(10.8438, 18.1346, 7.9289)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338641 #863378
analogous
#4F8633 #338641 #33866B
triadic
#338641 #413386 #864133
tetradic
#338641 #334F86 #863378 #866B33
square
#338641 #334F86 #863378 #866B33
split-complementary
#338641 #6B3386 #86334F
monochromatic
#112D16 #225A2B #338641 #44B257 #6CC77C

Accessibility & contrast

On white

4.54
#338641 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#338641 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338641
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338641#FFFFFF#000000##000000
##3386411.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3B
Deuteranopia (green-blind)
#7D7346
Tritanopia (blue-blind)
#1F8376
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338641;
/* rgb */ color: rgb(51, 134, 65);
/* oklch */ color: oklch(55.2% 0.131 146.7);
Tailwind
colors: {
  custom: {
    50: '#74aa77',
    500: '#338641',
    950: '#000000',
  },
}
SCSS
$custom: #338641;
$custom-light: #74aa77;
$custom-dark: #000000;
JSON
{
  "hex": "#338641",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 65
  },
  "hsl": {
    "h": 130.12,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55234,
    "c": 0.13102,
    "h": 146.7
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#338641
secondary
#AF66A3
accent
#53BFD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338641

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

Preview Lab → · Contrast checker → · Palette generator →

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