#30872F#30872F

#30872F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.150 H 143.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#30872F
RGBrgb(48, 135, 47)
HSLhsl(119, 48%, 36%)
HSVhsv(119, 65%, 53%)
CMYKcmyk(64.4%, 0%, 65.2%, 47.1%)
CIE-LABlab(49.69, -44.03, 38.68)
CIE-LCHlch(49.69, 58.61, 138.71°)
OKLaboklab(55.17% -0.1197 0.09)
OKLCHoklch(55.17% 0.15 143)
XYZxyz(10.3954, 18.1605, 5.6463)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30872F #862F87
analogous
#5C872F #30872F #2F875A
triadic
#30872F #2F3087 #872F30
tetradic
#30872F #2F5C87 #862F87 #875A2F
square
#30872F #2F5C87 #862F87 #875A2F
split-complementary
#30872F #5A2F87 #872F5C
monochromatic
#102C0F #205A1F #30872F #40B43F #68CA66

Accessibility & contrast

On white

4.53
#30872F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##30872F#FFFFFF#000000##000000
##30872F1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#1F8375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #30872f;
/* rgb */ color: rgb(48, 135, 47);
/* oklch */ color: oklch(55.2% 0.150 143.0);
Tailwind
colors: {
  custom: {
    50: '#73ab6b',
    500: '#30872f',
    950: '#000000',
  },
}
SCSS
$custom: #30872f;
$custom-light: #73ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#30872f",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 119.318,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55165,
    "c": 0.14974,
    "h": 143
  },
  "luminance": 0.18162
}

Semantic roles & 50–950 ramp

primary
#30872F
secondary
#B061B1
accent
#50D8D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #30872F

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

Preview Lab → · Contrast checker → · Palette generator →

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