#30872B#30872B

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

Color values

HEX#30872B
RGBrgb(48, 135, 43)
HSLhsl(117, 52%, 35%)
HSVhsv(117, 68%, 53%)
CMYKcmyk(64.4%, 0%, 68.1%, 47.1%)
CIE-LABlab(49.65, -44.47, 40.44)
CIE-LCHlch(49.65, 60.11, 137.71°)
OKLaboklab(55.12% -0.121 0.0933)
OKLCHoklch(55.12% 0.153 142.4)
XYZxyz(10.3184, 18.1297, 5.2407)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30872B #822B87
analogous
#5E872B #30872B #2B8754
triadic
#30872B #2B3087 #872B30
tetradic
#30872B #2B5E87 #822B87 #87542B
square
#30872B #2B5E87 #822B87 #87542B
split-complementary
#30872B #542B87 #872B5E
monochromatic
#0F2A0D #1F591C #30872B #41B53A #66CC60

Accessibility & contrast

On white

4.54
#30872B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#30872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30872B
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30872B#FFFFFF#000000##000000
##30872B1.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)
#8A7A1F
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#208374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #30872b;
/* rgb */ color: rgb(48, 135, 43);
/* oklch */ color: oklch(55.1% 0.153 142.4);
Tailwind
colors: {
  custom: {
    50: '#74ab69',
    500: '#30872b',
    950: '#000000',
  },
}
SCSS
$custom: #30872b;
$custom-light: #74ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#30872b",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 116.739,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.15283,
    "h": 142.4
  },
  "luminance": 0.18131
}

Semantic roles & 50–950 ramp

primary
#30872B
secondary
#AE5BB2
accent
#4DDBD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #30872B

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

Preview Lab → · Contrast checker → · Palette generator →

#30872B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva