#30872E#30872E

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

Color values

HEX#30872E
RGBrgb(48, 135, 46)
HSLhsl(119, 49%, 35%)
HSVhsv(119, 66%, 53%)
CMYKcmyk(64.4%, 0%, 65.9%, 47.1%)
CIE-LABlab(49.68, -44.15, 39.13)
CIE-LCHlch(49.68, 58.99, 138.45°)
OKLaboklab(55.15% -0.12 0.0909)
OKLCHoklch(55.15% 0.151 142.9)
XYZxyz(10.3755, 18.1526, 5.5413)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30872E #852E87
analogous
#5C872E #30872E #2E8758
triadic
#30872E #2E3087 #872E30
tetradic
#30872E #2E5C87 #852E87 #87582E
square
#30872E #2E5C87 #852E87 #87582E
split-complementary
#30872E #582E87 #872E5C
monochromatic
#102C0F #20591E #30872E #40B53E #67CA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30872E#FFFFFF#000000##000000
##30872E1.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)
#8A7B23
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#1F8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #30872e;
/* rgb */ color: rgb(48, 135, 46);
/* oklch */ color: oklch(55.2% 0.151 142.9);
Tailwind
colors: {
  custom: {
    50: '#73ab6b',
    500: '#30872e',
    950: '#000000',
  },
}
SCSS
$custom: #30872e;
$custom-light: #73ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#30872e",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 118.652,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.15053,
    "h": 142.9
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

primary
#30872E
secondary
#AF60B1
accent
#4FD9D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #30872E

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

Preview Lab → · Contrast checker → · Palette generator →

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