#30541F#30541F

#30541F is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.5% C 0.091 H 136.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#30541F
RGBrgb(48, 84, 31)
HSLhsl(101, 46%, 23%)
HSVhsv(101, 63%, 33%)
CMYKcmyk(42.9%, 0%, 63.1%, 67.1%)
CIE-LABlab(31.96, -24.04, 26.49)
CIE-LCHlch(31.96, 35.77, 132.22°)
OKLaboklab(40.53% -0.0664 0.0622)
OKLCHoklch(40.53% 0.091 136.8)
XYZxyz(4.6364, 7.0677, 2.4160)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30541F #431F54
analogous
#4A541F #30541F #1F5429
triadic
#30541F #1F3054 #541F30
tetradic
#30541F #1F4A54 #431F54 #54291F
square
#30541F #1F4A54 #431F54 #54291F
split-complementary
#30541F #291F54 #541F4A
monochromatic
#0D1608 #16270F #30541F #4A812F #63AD40

Accessibility & contrast

On white

8.70
#30541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#30541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30541F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30541F#FFFFFF#000000##FFFFFF
##30541F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#2E5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #30541f;
/* rgb */ color: rgb(48, 84, 31);
/* oklch */ color: oklch(40.5% 0.091 136.8);
Tailwind
colors: {
  custom: {
    50: '#6b845d',
    500: '#30541f',
    950: '#000000',
  },
}
SCSS
$custom: #30541f;
$custom-light: #6b845d;
$custom-dark: #000000;
JSON
{
  "hex": "#30541f",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 100.755,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4053,
    "c": 0.09097,
    "h": 136.8
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#30541F
secondary
#734689
accent
#52D6AC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30541F

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

Preview Lab → · Contrast checker → · Palette generator →

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