#30580D#30580D

#30580D is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.111 H 134.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#30580D
RGBrgb(48, 88, 13)
HSLhsl(92, 74%, 20%)
HSVhsv(92, 85%, 35%)
CMYKcmyk(45.5%, 0%, 85.2%, 65.5%)
CIE-LABlab(33.21, -27.56, 35.84)
CIE-LCHlch(33.21, 45.21, 127.56°)
OKLaboklab(41.51% -0.0774 0.0793)
OKLCHoklch(41.51% 0.111 134.3)
XYZxyz(4.7812, 7.6366, 1.6028)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30580D #350D58
analogous
#56580D #30580D #0D5810
triadic
#30580D #0D3058 #580D30
tetradic
#30580D #0D5658 #350D58 #58100D
square
#30580D #0D5658 #350D58 #58100D
split-complementary
#30580D #100D58 #580D56
monochromatic
#0F1B04 #132305 #30580D #4D8D15 #6AC31D

Accessibility & contrast

On white

8.31
#30580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#30580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30580D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30580D#FFFFFF#000000##FFFFFF
##30580D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5000
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#2F544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #30580d;
/* rgb */ color: rgb(48, 88, 13);
/* oklch */ color: oklch(41.5% 0.111 134.3);
Tailwind
colors: {
  custom: {
    50: '#6d8753',
    500: '#30580d',
    950: '#000000',
  },
}
SCSS
$custom: #30580d;
$custom-light: #6d8753;
$custom-dark: #000000;
JSON
{
  "hex": "#30580d",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 92,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.11079,
    "h": 134.3
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#30580D
secondary
#642E93
accent
#37F19A
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #30580D

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

Preview Lab → · Contrast checker → · Palette generator →

#30580D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva