#30872C#30872C

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

Color values

HEX#30872C
RGBrgb(48, 135, 44)
HSLhsl(117, 51%, 35%)
HSVhsv(117, 67%, 53%)
CMYKcmyk(64.4%, 0%, 67.4%, 47.1%)
CIE-LABlab(49.66, -44.36, 40.01)
CIE-LCHlch(49.66, 59.74, 137.95°)
OKLaboklab(55.13% -0.1207 0.0925)
OKLCHoklch(55.13% 0.152 142.5)
XYZxyz(10.3369, 18.1372, 5.3385)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30872C #832C87
analogous
#5D872C #30872C #2C8756
triadic
#30872C #2C3087 #872C30
tetradic
#30872C #2C5D87 #832C87 #87562C
square
#30872C #2C5D87 #832C87 #87562C
split-complementary
#30872C #562C87 #872C5D
monochromatic
#0F2B0E #20591D #30872C #40B53B #66CC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30872C#FFFFFF#000000##000000
##30872C1.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)
#8A7B20
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#1F8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #30872c;
/* rgb */ color: rgb(48, 135, 44);
/* oklch */ color: oklch(55.1% 0.152 142.5);
Tailwind
colors: {
  custom: {
    50: '#74ab6a',
    500: '#30872c',
    950: '#000000',
  },
}
SCSS
$custom: #30872c;
$custom-light: #74ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#30872c",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 117.363,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55132,
    "c": 0.15208,
    "h": 142.5
  },
  "luminance": 0.18138
}

Semantic roles & 50–950 ramp

primary
#30872C
secondary
#AE5DB2
accent
#4DDAD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #30872C

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

Preview Lab → · Contrast checker → · Palette generator →

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