#30570C#30570C

#30570C is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.110 H 134.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#30570C
RGBrgb(48, 87, 12)
HSLhsl(91, 76%, 19%)
HSVhsv(91, 86%, 34%)
CMYKcmyk(44.8%, 0%, 86.2%, 65.9%)
CIE-LABlab(32.86, -27.15, 35.84)
CIE-LCHlch(32.86, 44.96, 127.14°)
OKLaboklab(41.21% -0.0763 0.0791)
OKLCHoklch(41.21% 0.11 134)
XYZxyz(4.6934, 7.4711, 1.5425)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30570C #330C57
analogous
#56570C #30570C #0C570D
triadic
#30570C #0C3057 #570C30
tetradic
#30570C #0C5657 #330C57 #570D0C
square
#30570C #0C5657 #330C57 #570D0C
split-complementary
#30570C #0D0C57 #570C56
monochromatic
#0F1B04 #122105 #30570C #4E8D13 #6BC31B

Accessibility & contrast

On white

8.42
#30570C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#30570C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30570C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30570C#FFFFFF#000000##FFFFFF
##30570C1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F00
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#305349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #30570c;
/* rgb */ color: rgb(48, 87, 12);
/* oklch */ color: oklch(41.2% 0.110 134.0);
Tailwind
colors: {
  custom: {
    50: '#6d8752',
    500: '#30570c',
    950: '#000000',
  },
}
SCSS
$custom: #30570c;
$custom-light: #6d8752;
$custom-dark: #000000;
JSON
{
  "hex": "#30570c",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 91.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41211,
    "c": 0.10996,
    "h": 134
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#30570C
secondary
#612D92
accent
#35F298
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #30570C

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

Preview Lab → · Contrast checker → · Palette generator →

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