#30591A#30591A

#30591A is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.9% C 0.103 H 136.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#30591A
RGBrgb(48, 89, 26)
HSLhsl(99, 55%, 23%)
HSVhsv(99, 71%, 35%)
CMYKcmyk(46.1%, 0%, 70.8%, 65.1%)
CIE-LABlab(33.66, -27.00, 30.91)
CIE-LCHlch(33.66, 41.04, 131.13°)
OKLaboklab(41.91% -0.0748 0.071)
OKLCHoklch(41.91% 0.103 136.5)
XYZxyz(4.9776, 7.8474, 2.2295)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30591A #431A59
analogous
#4F591A #30591A #1A5924
triadic
#30591A #1A3059 #591A30
tetradic
#30591A #1A4F59 #431A59 #59241A
square
#30591A #1A4F59 #431A59 #59241A
split-complementary
#30591A #241A59 #591A4F
monochromatic
#0D1807 #162A0C #30591A #4A8828 #63B836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30591A#FFFFFF#000000##FFFFFF
##30591A1.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)
#5C5112
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#2E564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #30591a;
/* rgb */ color: rgb(48, 89, 26);
/* oklch */ color: oklch(41.9% 0.103 136.5);
Tailwind
colors: {
  custom: {
    50: '#6c885a',
    500: '#30591a',
    950: '#000000',
  },
}
SCSS
$custom: #30591a;
$custom-light: #6c885a;
$custom-dark: #000000;
JSON
{
  "hex": "#30591a",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 99.048,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41905,
    "c": 0.10318,
    "h": 136.5
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#30591A
secondary
#73408F
accent
#4ADEAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30591A

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

Preview Lab → · Contrast checker → · Palette generator →

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