#33871A#33871A

#33871A is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.162 H 139.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#33871A
RGBrgb(51, 135, 26)
HSLhsl(106, 68%, 32%)
HSVhsv(106, 81%, 53%)
CMYKcmyk(62.2%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.62, -45.14, 47.03)
CIE-LCHlch(49.62, 65.19, 133.82°)
OKLaboklab(55.08% -0.124 0.1047)
OKLCHoklch(55.08% 0.162 139.8)
XYZxyz(10.2152, 18.1054, 3.9334)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33871A #6E1A87
analogous
#6A871A #33871A #1A8738
triadic
#33871A #1A3387 #871A33
tetradic
#33871A #1A6A87 #6E1A87 #87381A
square
#33871A #1A6A87 #6E1A87 #87381A
split-complementary
#33871A #381A87 #871A6A
monochromatic
#0C2006 #205410 #33871A #46BA24 #64DA41

Accessibility & contrast

On white

4.54
#33871A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#33871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #33871A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33871A#FFFFFF#000000##000000
##33871A1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#288273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #33871a;
/* rgb */ color: rgb(51, 135, 26);
/* oklch */ color: oklch(55.1% 0.162 139.8);
Tailwind
colors: {
  custom: {
    50: '#76ab60',
    500: '#33871a',
    950: '#000000',
  },
}
SCSS
$custom: #33871a;
$custom-light: #76ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#33871a",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 106.239,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55085,
    "c": 0.16232,
    "h": 139.8
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#33871A
secondary
#9F42BA
accent
#3DEBC3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #33871A

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

Preview Lab → · Contrast checker → · Palette generator →

#33871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva