#338133#338133

#338133 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.137 H 143.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#338133
RGBrgb(51, 129, 51)
HSLhsl(120, 43%, 35%)
HSVhsv(120, 60%, 51%)
CMYKcmyk(60.5%, 0%, 60.5%, 49.4%)
CIE-LABlab(47.81, -40.47, 34.64)
CIE-LCHlch(47.81, 53.27, 139.43°)
OKLaboklab(53.65% -0.11 0.0818)
OKLCHoklch(53.65% 0.137 143.4)
XYZxyz(9.8125, 16.6424, 5.8265)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338133 #813381
analogous
#5A8133 #338133 #33815A
triadic
#338133 #333381 #813333
tetradic
#338133 #335A81 #813381 #815A33
square
#338133 #335A81 #813381 #815A33
split-complementary
#338133 #5A3381 #81335A
monochromatic
#102910 #225522 #338133 #44AD44 #6AC46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338133#FFFFFF#000000##FFFFFF
##3381331.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)
#84762B
Deuteranopia (green-blind)
#7A6F39
Tritanopia (blue-blind)
#257D70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338133;
/* rgb */ color: rgb(51, 129, 51);
/* oklch */ color: oklch(53.6% 0.137 143.4);
Tailwind
colors: {
  custom: {
    50: '#73a66d',
    500: '#338133',
    950: '#000000',
  },
}
SCSS
$custom: #338133;
$custom-light: #73a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#338133",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 51
  },
  "hsl": {
    "h": 120,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.13702,
    "h": 143.4
  },
  "luminance": 0.16643
}

Semantic roles & 50–950 ramp

primary
#338133
secondary
#AC64AC
accent
#55D3D3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #338133

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

Preview Lab → · Contrast checker → · Palette generator →

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