#30581B#30581B

#30581B is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.6% C 0.101 H 136.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#30581B
RGBrgb(48, 88, 27)
HSLhsl(99, 53%, 23%)
HSVhsv(99, 69%, 35%)
CMYKcmyk(45.5%, 0%, 69.3%, 65.5%)
CIE-LABlab(33.32, -26.42, 30.06)
CIE-LCHlch(33.32, 40.02, 131.32°)
OKLaboklab(41.63% -0.0732 0.0694)
OKLCHoklch(41.63% 0.101 136.5)
XYZxyz(4.9063, 7.6867, 2.2619)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30581B #431B58
analogous
#4F581B #30581B #1B5824
triadic
#30581B #1B3058 #581B30
tetradic
#30581B #1B4F58 #431B58 #58241B
square
#30581B #1B4F58 #431B58 #58241B
split-complementary
#30581B #241B58 #581B4F
monochromatic
#0D1707 #16290D #30581B #4A8729 #63B638

Accessibility & contrast

On white

8.28
#30581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30581B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30581B#FFFFFF#000000##FFFFFF
##30581B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30581b;
/* rgb */ color: rgb(48, 88, 27);
/* oklch */ color: oklch(41.6% 0.101 136.5);
Tailwind
colors: {
  custom: {
    50: '#6c875a',
    500: '#30581b',
    950: '#000000',
  },
}
SCSS
$custom: #30581b;
$custom-light: #6c875a;
$custom-dark: #000000;
JSON
{
  "hex": "#30581b",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 99.344,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41629,
    "c": 0.10084,
    "h": 136.5
  },
  "luminance": 0.07687
}

Semantic roles & 50–950 ramp

primary
#30581B
secondary
#73418E
accent
#4BDCAA
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30581B

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

Preview Lab → · Contrast checker → · Palette generator →

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