#30591C#30591C

#30591C is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.101 H 136.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#30591C
RGBrgb(48, 89, 28)
HSLhsl(100, 52%, 23%)
HSVhsv(100, 69%, 35%)
CMYKcmyk(46.1%, 0%, 68.5%, 65.1%)
CIE-LABlab(33.68, -26.79, 29.96)
CIE-LCHlch(33.68, 40.20, 131.80°)
OKLaboklab(41.93% -0.0741 0.0693)
OKLCHoklch(41.93% 0.101 136.9)
XYZxyz(5.0008, 7.8567, 2.3514)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30591C #451C59
analogous
#4E591C #30591C #1C5926
triadic
#30591C #1C3059 #591C30
tetradic
#30591C #1C4E59 #451C59 #59261C
square
#30591C #1C4E59 #451C59 #59261C
split-complementary
#30591C #261C59 #591C4E
monochromatic
#0D1707 #172A0D #30591C #49882B #62B639

Accessibility & contrast

On white

8.17
#30591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#30591C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30591C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30591C#FFFFFF#000000##FFFFFF
##30591C1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5115
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#2E564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #30591c;
/* rgb */ color: rgb(48, 89, 28);
/* oklch */ color: oklch(41.9% 0.101 136.9);
Tailwind
colors: {
  custom: {
    50: '#6c885b',
    500: '#30591c',
    950: '#000000',
  },
}
SCSS
$custom: #30591c;
$custom-light: #6c885b;
$custom-dark: #000000;
JSON
{
  "hex": "#30591c",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 100.328,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.10146,
    "h": 136.9
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#30591C
secondary
#76428F
accent
#4CDCAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30591C

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

Preview Lab → · Contrast checker → · Palette generator →

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