#30570F#30570F

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

Color values

HEX#30570F
RGBrgb(48, 87, 15)
HSLhsl(93, 71%, 20%)
HSVhsv(93, 83%, 34%)
CMYKcmyk(44.8%, 0%, 82.8%, 65.9%)
CIE-LABlab(32.87, -26.97, 34.80)
CIE-LCHlch(32.87, 44.03, 127.77°)
OKLaboklab(41.23% -0.0756 0.0775)
OKLCHoklch(41.23% 0.108 134.3)
XYZxyz(4.7133, 7.4790, 1.6471)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30570F #360F57
analogous
#54570F #30570F #0F5712
triadic
#30570F #0F3057 #570F30
tetradic
#30570F #0F5457 #360F57 #57120F
square
#30570F #0F5457 #360F57 #57120F
split-complementary
#30570F #120F57 #570F54
monochromatic
#0E1A05 #132306 #30570F #4D8B18 #6ABF21

Accessibility & contrast

On white

8.41
#30570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#30570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30570F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30570F#FFFFFF#000000##FFFFFF
##30570F1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F01
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#2F5349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #30570f;
/* rgb */ color: rgb(48, 87, 15);
/* oklch */ color: oklch(41.2% 0.108 134.3);
Tailwind
colors: {
  custom: {
    50: '#6d8754',
    500: '#30570f',
    950: '#000000',
  },
}
SCSS
$custom: #30570f;
$custom-light: #6d8754;
$custom-dark: #000000;
JSON
{
  "hex": "#30570f",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 92.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.41231,
    "c": 0.10827,
    "h": 134.3
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#30570F
secondary
#653191
accent
#3AED9B
background
#F6F8F5
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #30570F

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

Preview Lab → · Contrast checker → · Palette generator →

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