#30591B#30591B

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

Color values

HEX#30591B
RGBrgb(48, 89, 27)
HSLhsl(100, 53%, 23%)
HSVhsv(100, 70%, 35%)
CMYKcmyk(46.1%, 0%, 69.7%, 65.1%)
CIE-LABlab(33.67, -26.90, 30.44)
CIE-LCHlch(33.67, 40.62, 131.46°)
OKLaboklab(41.92% -0.0745 0.0702)
OKLCHoklch(41.92% 0.102 136.7)
XYZxyz(4.9890, 7.8520, 2.2894)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30591B #441B59
analogous
#4F591B #30591B #1B5925
triadic
#30591B #1B3059 #591B30
tetradic
#30591B #1B4F59 #441B59 #59251B
square
#30591B #1B4F59 #441B59 #59251B
split-complementary
#30591B #251B59 #591B4F
monochromatic
#0D1707 #172A0D #30591B #498829 #63B737

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #30591b;
/* rgb */ color: rgb(48, 89, 27);
/* oklch */ color: oklch(41.9% 0.102 136.7);
Tailwind
colors: {
  custom: {
    50: '#6c885b',
    500: '#30591b',
    950: '#000000',
  },
}
SCSS
$custom: #30591b;
$custom-light: #6c885b;
$custom-dark: #000000;
JSON
{
  "hex": "#30591b",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 99.677,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41916,
    "c": 0.10234,
    "h": 136.7
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#30591B
secondary
#74418F
accent
#4BDDAB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30591B

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

Preview Lab → · Contrast checker → · Palette generator →

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