#338136#338136

#338136 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.134 H 144.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#338136
RGBrgb(51, 129, 54)
HSLhsl(122, 43%, 35%)
HSVhsv(122, 60%, 51%)
CMYKcmyk(60.5%, 0%, 58.1%, 49.4%)
CIE-LABlab(47.84, -40.08, 33.18)
CIE-LCHlch(47.84, 52.03, 140.37°)
OKLaboklab(53.69% -0.1088 0.0788)
OKLCHoklch(53.69% 0.134 144.1)
XYZxyz(9.8808, 16.6698, 6.1862)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338136 #81337E
analogous
#578133 #338136 #33815D
triadic
#338136 #363381 #813633
tetradic
#338136 #335781 #81337E #815D33
square
#338136 #335781 #81337E #815D33
split-complementary
#338136 #5D3381 #813357
monochromatic
#102911 #225524 #338136 #44AD48 #6AC46E

Accessibility & contrast

On white

4.85
#338136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#338136 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338136
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338136#FFFFFF#000000##FFFFFF
##3381361.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83762F
Deuteranopia (green-blind)
#796F3C
Tritanopia (blue-blind)
#257E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338136;
/* rgb */ color: rgb(51, 129, 54);
/* oklch */ color: oklch(53.7% 0.134 144.1);
Tailwind
colors: {
  custom: {
    50: '#73a66f',
    500: '#338136',
    950: '#000000',
  },
}
SCSS
$custom: #338136;
$custom-light: #73a66f;
$custom-dark: #000000;
JSON
{
  "hex": "#338136",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 122.308,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.13433,
    "h": 144.1
  },
  "luminance": 0.16671
}

Semantic roles & 50–950 ramp

primary
#338136
secondary
#AC64A9
accent
#55CED3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #338136

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

Preview Lab → · Contrast checker → · Palette generator →

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