#30581A#30581A

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

Color values

HEX#30581A
RGBrgb(48, 88, 26)
HSLhsl(99, 54%, 22%)
HSVhsv(99, 70%, 35%)
CMYKcmyk(45.5%, 0%, 70.5%, 65.5%)
CIE-LABlab(33.31, -26.52, 30.53)
CIE-LCHlch(33.31, 40.44, 130.98°)
OKLaboklab(41.62% -0.0735 0.0702)
OKLCHoklch(41.62% 0.102 136.3)
XYZxyz(4.8950, 7.6821, 2.2020)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30581A #421A58
analogous
#4F581A #30581A #1A5823
triadic
#30581A #1A3058 #581A30
tetradic
#30581A #1A4F58 #421A58 #58231A
square
#30581A #1A4F58 #421A58 #58231A
split-complementary
#30581A #231A58 #581A4F
monochromatic
#0D1807 #16290C #30581A #4A8728 #64B636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30581A#FFFFFF#000000##FFFFFF
##30581A1.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)
#5B5012
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#2E554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #30581a;
/* rgb */ color: rgb(48, 88, 26);
/* oklch */ color: oklch(41.6% 0.102 136.3);
Tailwind
colors: {
  custom: {
    50: '#6c875a',
    500: '#30581a',
    950: '#000000',
  },
}
SCSS
$custom: #30581a;
$custom-light: #6c875a;
$custom-dark: #000000;
JSON
{
  "hex": "#30581a",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 98.71,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.1017,
    "h": 136.3
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#30581A
secondary
#72408E
accent
#4ADEA9
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30581A

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

Preview Lab → · Contrast checker → · Palette generator →

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