#30873B#30873B

#30873B is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.139 H 145.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#30873B
RGBrgb(48, 135, 59)
HSLhsl(128, 48%, 36%)
HSVhsv(128, 64%, 53%)
CMYKcmyk(64.4%, 0%, 56.3%, 47.1%)
CIE-LABlab(49.82, -42.51, 32.98)
CIE-LCHlch(49.82, 53.80, 142.19°)
OKLaboklab(55.32% -0.115 0.0788)
OKLCHoklch(55.32% 0.139 145.6)
XYZxyz(10.6716, 18.2710, 7.1011)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30873B #87307C
analogous
#508730 #30873B #308766
triadic
#30873B #3B3087 #873B30
tetradic
#30873B #305087 #87307C #876630
square
#30873B #305087 #87307C #876630
split-complementary
#30873B #663087 #873050
monochromatic
#102D14 #205A27 #30873B #40B44F #68C974

Accessibility & contrast

On white

4.51
#30873B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#30873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30873B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30873B#FFFFFF#000000##000000
##30873B1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B34
Deuteranopia (green-blind)
#7E7441
Tritanopia (blue-blind)
#1B8476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #30873b;
/* rgb */ color: rgb(48, 135, 59);
/* oklch */ color: oklch(55.3% 0.139 145.6);
Tailwind
colors: {
  custom: {
    50: '#73ab73',
    500: '#30873b',
    950: '#000000',
  },
}
SCSS
$custom: #30873b;
$custom-light: #73ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#30873b",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 127.586,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.1394,
    "h": 145.6
  },
  "luminance": 0.18272
}

Semantic roles & 50–950 ramp

primary
#30873B
secondary
#B162A7
accent
#51C6D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #30873B

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

Preview Lab → · Contrast checker → · Palette generator →

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