#33871F#33871F

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

Color values

HEX#33871F
RGBrgb(51, 135, 31)
HSLhsl(108, 63%, 33%)
HSVhsv(108, 77%, 53%)
CMYKcmyk(62.2%, 0%, 77%, 47.1%)
CIE-LABlab(49.65, -44.79, 45.33)
CIE-LCHlch(49.65, 63.73, 134.66°)
OKLaboklab(55.12% -0.1228 0.1019)
OKLCHoklch(55.12% 0.16 140.3)
XYZxyz(10.2761, 18.1297, 4.2539)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33871F #731F87
analogous
#67871F #33871F #1F873F
triadic
#33871F #1F3387 #871F33
tetradic
#33871F #1F6787 #731F87 #873F1F
square
#33871F #1F6787 #731F87 #873F1F
split-complementary
#33871F #3F1F87 #871F67
monochromatic
#0D2308 #205514 #33871F #46B92A #65D64B

Accessibility & contrast

On white

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

On black

4.63
#33871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##33871F#FFFFFF#000000##000000
##33871F1.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)
#8B7A09
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#278273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #33871f;
/* rgb */ color: rgb(51, 135, 31);
/* oklch */ color: oklch(55.1% 0.160 140.3);
Tailwind
colors: {
  custom: {
    50: '#76ab62',
    500: '#33871f',
    950: '#000000',
  },
}
SCSS
$custom: #33871f;
$custom-light: #76ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#33871f",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 108.462,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55119,
    "c": 0.15959,
    "h": 140.3
  },
  "luminance": 0.18131
}

Semantic roles & 50–950 ramp

primary
#33871F
secondary
#A34AB8
accent
#42E6C6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #33871F

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

Preview Lab → · Contrast checker → · Palette generator →

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