#30871A#30871A

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

Color values

HEX#30871A
RGBrgb(48, 135, 26)
HSLhsl(108, 68%, 32%)
HSVhsv(108, 81%, 53%)
CMYKcmyk(64.4%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.53, -45.88, 46.91)
CIE-LCHlch(49.53, 65.62, 134.37°)
OKLaboklab(54.98% -0.1258 0.1045)
OKLCHoklch(54.98% 0.164 140.3)
XYZxyz(10.0689, 18.0299, 3.9266)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30871A #711A87
analogous
#67871A #30871A #1A873B
triadic
#30871A #1A3087 #871A30
tetradic
#30871A #1A6787 #711A87 #873B1A
square
#30871A #1A6787 #711A87 #873B1A
split-complementary
#30871A #3B1A87 #871A67
monochromatic
#0C2006 #1E5410 #30871A #42BA24 #60DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30871A#FFFFFF#000000##000000
##30871A1.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)
#8B7A00
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#238273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #30871a;
/* rgb */ color: rgb(48, 135, 26);
/* oklch */ color: oklch(55.0% 0.164 140.3);
Tailwind
colors: {
  custom: {
    50: '#74ab60',
    500: '#30871a',
    950: '#000000',
  },
}
SCSS
$custom: #30871a;
$custom-light: #74ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#30871a",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 107.89,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54984,
    "c": 0.16358,
    "h": 140.3
  },
  "luminance": 0.18031
}

Semantic roles & 50–950 ramp

primary
#30871A
secondary
#A242BA
accent
#3DEBC8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #30871A

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

Preview Lab → · Contrast checker → · Palette generator →

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