#33871C#33871C

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

Color values

HEX#33871C
RGBrgb(51, 135, 28)
HSLhsl(107, 66%, 32%)
HSVhsv(107, 79%, 53%)
CMYKcmyk(62.2%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.63, -45.01, 46.37)
CIE-LCHlch(49.63, 64.62, 134.14°)
OKLaboklab(55.1% -0.1236 0.1037)
OKLCHoklch(55.1% 0.161 140)
XYZxyz(10.2383, 18.1146, 4.0553)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33871C #701C87
analogous
#69871C #33871C #1C873B
triadic
#33871C #1C3387 #871C33
tetradic
#33871C #1C6987 #701C87 #873B1C
square
#33871C #1C6987 #701C87 #873B1C
split-complementary
#33871C #3B1C87 #871C69
monochromatic
#0D2207 #205411 #33871C #46BA27 #65D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##33871C#FFFFFF#000000##000000
##33871C1.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)
#8B7A01
Deuteranopia (green-blind)
#817328
Tritanopia (blue-blind)
#288273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #33871c;
/* rgb */ color: rgb(51, 135, 28);
/* oklch */ color: oklch(55.1% 0.161 140.0);
Tailwind
colors: {
  custom: {
    50: '#76ab61',
    500: '#33871c',
    950: '#000000',
  },
}
SCSS
$custom: #33871c;
$custom-light: #76ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#33871c",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 107.103,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55098,
    "c": 0.16128,
    "h": 140
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#33871C
secondary
#A145BA
accent
#3FE9C4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #33871C

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

Preview Lab → · Contrast checker → · Palette generator →

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