#30872D#30872D

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

Color values

HEX#30872D
RGBrgb(48, 135, 45)
HSLhsl(118, 50%, 35%)
HSVhsv(118, 67%, 53%)
CMYKcmyk(64.4%, 0%, 66.7%, 47.1%)
CIE-LABlab(49.67, -44.25, 39.57)
CIE-LCHlch(49.67, 59.37, 138.20°)
OKLaboklab(55.14% -0.1204 0.0917)
OKLCHoklch(55.14% 0.151 142.7)
XYZxyz(10.3560, 18.1448, 5.4387)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30872D #842D87
analogous
#5D872D #30872D #2D8757
triadic
#30872D #2D3087 #872D30
tetradic
#30872D #2D5D87 #842D87 #87572D
square
#30872D #2D5D87 #842D87 #87572D
split-complementary
#30872D #572D87 #872D5D
monochromatic
#0F2B0E #20591E #30872D #40B53C #67CB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30872D#FFFFFF#000000##000000
##30872D1.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)
#8A7B22
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#1F8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #30872d;
/* rgb */ color: rgb(48, 135, 45);
/* oklch */ color: oklch(55.1% 0.151 142.7);
Tailwind
colors: {
  custom: {
    50: '#73ab6a',
    500: '#30872d',
    950: '#000000',
  },
}
SCSS
$custom: #30872d;
$custom-light: #73ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#30872d",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 118,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.15131,
    "h": 142.7
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#30872D
secondary
#AF5EB2
accent
#4EDAD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #30872D

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

Preview Lab → · Contrast checker → · Palette generator →

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