#30581C#30581C

#30581C is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.100 H 136.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#30581C
RGBrgb(48, 88, 28)
HSLhsl(100, 52%, 23%)
HSVhsv(100, 68%, 35%)
CMYKcmyk(45.5%, 0%, 68.2%, 65.5%)
CIE-LABlab(33.33, -26.32, 29.58)
CIE-LCHlch(33.33, 39.59, 131.66°)
OKLaboklab(41.64% -0.0728 0.0685)
OKLCHoklch(41.64% 0.1 136.8)
XYZxyz(4.9181, 7.6914, 2.3238)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30581C #441C58
analogous
#4E581C #30581C #1C5826
triadic
#30581C #1C3058 #581C30
tetradic
#30581C #1C4E58 #441C58 #58261C
square
#30581C #1C4E58 #441C58 #58261C
split-complementary
#30581C #261C58 #581C4E
monochromatic
#0D1707 #172A0D #30581C #49862B #63B53A

Accessibility & contrast

On white

8.27
#30581C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#30581C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30581C
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30581C#FFFFFF#000000##FFFFFF
##30581C1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5115
Deuteranopia (green-blind)
#564D21
Tritanopia (blue-blind)
#2E554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #30581c;
/* rgb */ color: rgb(48, 88, 28);
/* oklch */ color: oklch(41.6% 0.100 136.8);
Tailwind
colors: {
  custom: {
    50: '#6c875b',
    500: '#30581c',
    950: '#000000',
  },
}
SCSS
$custom: #30581c;
$custom-light: #6c875b;
$custom-dark: #000000;
JSON
{
  "hex": "#30581c",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 100,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.09997,
    "h": 136.8
  },
  "luminance": 0.07692
}

Semantic roles & 50–950 ramp

primary
#30581C
secondary
#74428E
accent
#4DDBAC
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30581C

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

Preview Lab → · Contrast checker → · Palette generator →

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