#30571B#30571B

#30571B is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.3% C 0.099 H 136.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#30571B
RGBrgb(48, 87, 27)
HSLhsl(99, 53%, 22%)
HSVhsv(99, 69%, 34%)
CMYKcmyk(44.8%, 0%, 69%, 65.9%)
CIE-LABlab(32.97, -25.95, 29.67)
CIE-LCHlch(32.97, 39.42, 131.17°)
OKLaboklab(41.34% -0.0719 0.0686)
OKLCHoklch(41.34% 0.099 136.4)
XYZxyz(4.8248, 7.5236, 2.2347)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30571B #421B57
analogous
#4E571B #30571B #1B5724
triadic
#30571B #1B3057 #571B30
tetradic
#30571B #1B4E57 #421B57 #57241B
square
#30571B #1B4E57 #421B57 #57241B
split-complementary
#30571B #241B57 #571B4E
monochromatic
#0D1707 #16280D #30571B #4A8629 #64B438

Accessibility & contrast

On white

8.38
#30571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#30571B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30571B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30571B#FFFFFF#000000##FFFFFF
##30571B1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5014
Deuteranopia (green-blind)
#554C20
Tritanopia (blue-blind)
#2E544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #30571b;
/* rgb */ color: rgb(48, 87, 27);
/* oklch */ color: oklch(41.3% 0.099 136.4);
Tailwind
colors: {
  custom: {
    50: '#6c875a',
    500: '#30571b',
    950: '#000000',
  },
}
SCSS
$custom: #30571b;
$custom-light: #6c875a;
$custom-dark: #000000;
JSON
{
  "hex": "#30571b",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 99,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41341,
    "c": 0.09934,
    "h": 136.4
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#30571B
secondary
#72418D
accent
#4CDCAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30571B

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

Preview Lab → · Contrast checker → · Palette generator →

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