#30871C#30871C

#30871C is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.163 H 140.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#30871C
RGBrgb(48, 135, 28)
HSLhsl(109, 66%, 32%)
HSVhsv(109, 79%, 53%)
CMYKcmyk(64.4%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.54, -45.75, 46.25)
CIE-LCHlch(49.54, 65.06, 134.69°)
OKLaboklab(55% -0.1254 0.1034)
OKLCHoklch(55% 0.163 140.5)
XYZxyz(10.0920, 18.0392, 4.0485)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30871C #731C87
analogous
#66871C #30871C #1C873E
triadic
#30871C #1C3087 #871C30
tetradic
#30871C #1C6687 #731C87 #873E1C
square
#30871C #1C6687 #731C87 #873E1C
split-complementary
#30871C #3E1C87 #871C66
monochromatic
#0C2207 #1E5411 #30871C #42BA27 #61D845

Accessibility & contrast

On white

4.56
#30871C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#30871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30871C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30871C#FFFFFF#000000##000000
##30871C1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A01
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#238273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #30871c;
/* rgb */ color: rgb(48, 135, 28);
/* oklch */ color: oklch(55.0% 0.163 140.5);
Tailwind
colors: {
  custom: {
    50: '#74ab61',
    500: '#30871c',
    950: '#000000',
  },
}
SCSS
$custom: #30871c;
$custom-light: #74ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#30871c",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 108.785,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.16253,
    "h": 140.5
  },
  "luminance": 0.1804
}

Semantic roles & 50–950 ramp

primary
#30871C
secondary
#A445BA
accent
#3FE9C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #30871C

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

Preview Lab → · Contrast checker → · Palette generator →

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