#30871E#30871E

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

Color values

HEX#30871E
RGBrgb(48, 135, 30)
HSLhsl(110, 64%, 32%)
HSVhsv(110, 78%, 53%)
CMYKcmyk(64.4%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.56, -45.61, 45.57)
CIE-LCHlch(49.56, 64.47, 135.03°)
OKLaboklab(55.01% -0.1249 0.1023)
OKLCHoklch(55.01% 0.161 140.7)
XYZxyz(10.1167, 18.0491, 4.1787)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30871E #751E87
analogous
#65871E #30871E #1E8740
triadic
#30871E #1E3087 #871E30
tetradic
#30871E #1E6587 #751E87 #87401E
square
#30871E #1E6587 #751E87 #87401E
split-complementary
#30871E #401E87 #871E65
monochromatic
#0C2308 #1E5513 #30871E #42B929 #61D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30871E#FFFFFF#000000##000000
##30871E1.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)
#8B7A06
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#228373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #30871e;
/* rgb */ color: rgb(48, 135, 30);
/* oklch */ color: oklch(55.0% 0.161 140.7);
Tailwind
colors: {
  custom: {
    50: '#74ab62',
    500: '#30871e',
    950: '#000000',
  },
}
SCSS
$custom: #30871e;
$custom-light: #74ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#30871e",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 109.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5501,
    "c": 0.16143,
    "h": 140.7
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#30871E
secondary
#A548B9
accent
#41E7CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #30871E

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

Preview Lab → · Contrast checker → · Palette generator →

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