#338636#338636

#338636 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.1% C 0.141 H 143.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#338636
RGBrgb(51, 134, 54)
HSLhsl(122, 45%, 36%)
HSVhsv(122, 62%, 53%)
CMYKcmyk(61.9%, 0%, 59.7%, 47.5%)
CIE-LABlab(49.52, -42.08, 35.16)
CIE-LCHlch(49.52, 54.83, 140.12°)
OKLaboklab(55.07% -0.1142 0.0831)
OKLCHoklch(55.07% 0.141 143.9)
XYZxyz(10.5556, 18.0194, 6.4111)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338636 #863383
analogous
#5A8633 #338636 #338660
triadic
#338636 #363386 #863633
tetradic
#338636 #335A86 #863383 #866033
square
#338636 #335A86 #863383 #866033
split-complementary
#338636 #603386 #86335A
monochromatic
#112D12 #225A24 #338636 #44B248 #6CC770

Accessibility & contrast

On white

4.56
#338636 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#338636 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338636
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338636#FFFFFF#000000##000000
##3386361.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A2E
Deuteranopia (green-blind)
#7E733C
Tritanopia (blue-blind)
#238274
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338636;
/* rgb */ color: rgb(51, 134, 54);
/* oklch */ color: oklch(55.1% 0.141 143.9);
Tailwind
colors: {
  custom: {
    50: '#74aa70',
    500: '#338636',
    950: '#000000',
  },
}
SCSS
$custom: #338636;
$custom-light: #74aa70;
$custom-dark: #000000;
JSON
{
  "hex": "#338636",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 54
  },
  "hsl": {
    "h": 122.169,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55073,
    "c": 0.14123,
    "h": 143.9
  },
  "luminance": 0.1802
}

Semantic roles & 50–950 ramp

primary
#338636
secondary
#AF66AC
accent
#53D0D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338636

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

Preview Lab → · Contrast checker → · Palette generator →

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