#30561C#30561C

#30561C is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.1% C 0.097 H 136.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#30561C
RGBrgb(48, 86, 28)
HSLhsl(99, 51%, 22%)
HSVhsv(99, 67%, 34%)
CMYKcmyk(44.2%, 0%, 67.4%, 66.3%)
CIE-LABlab(32.63, -25.36, 28.80)
CIE-LCHlch(32.63, 38.37, 131.36°)
OKLaboklab(41.07% -0.0702 0.0668)
OKLCHoklch(41.07% 0.097 136.4)
XYZxyz(4.7562, 7.3675, 2.2698)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30561C #421C56
analogous
#4D561C #30561C #1C5625
triadic
#30561C #1C3056 #561C30
tetradic
#30561C #1C4D56 #421C56 #56251C
square
#30561C #1C4D56 #421C56 #56251C
split-complementary
#30561C #251C56 #561C4D
monochromatic
#0D1708 #16280D #30561C #4A842B #64B23A

Accessibility & contrast

On white

8.49
#30561C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#30561C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30561C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30561C#FFFFFF#000000##FFFFFF
##30561C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F15
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#2F534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #30561c;
/* rgb */ color: rgb(48, 86, 28);
/* oklch */ color: oklch(41.1% 0.097 136.4);
Tailwind
colors: {
  custom: {
    50: '#6c865b',
    500: '#30561c',
    950: '#000000',
  },
}
SCSS
$custom: #30561c;
$custom-light: #6c865b;
$custom-dark: #000000;
JSON
{
  "hex": "#30561c",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 28
  },
  "hsl": {
    "h": 99.31,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41066,
    "c": 0.09692,
    "h": 136.4
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#30561C
secondary
#72428C
accent
#4DDAAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30561C

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

Preview Lab → · Contrast checker → · Palette generator →

#30561C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva