#30541A#30541A

#30541A is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.5% C 0.096 H 135.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#30541A
RGBrgb(48, 84, 26)
HSLhsl(97, 53%, 22%)
HSVhsv(97, 69%, 33%)
CMYKcmyk(42.9%, 0%, 69%, 67.1%)
CIE-LABlab(31.91, -24.60, 29.00)
CIE-LCHlch(31.91, 38.03, 130.31°)
OKLaboklab(40.47% -0.0683 0.067)
OKLCHoklch(40.47% 0.096 135.6)
XYZxyz(4.5756, 7.0434, 2.0955)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30541A #3E1A54
analogous
#4D541A #30541A #1A5421
triadic
#30541A #1A3054 #541A30
tetradic
#30541A #1A4D54 #3E1A54 #54211A
square
#30541A #1A4D54 #3E1A54 #54211A
split-complementary
#30541A #211A54 #541A4D
monochromatic
#0D1707 #15250C #30541A #4B8328 #65B137

Accessibility & contrast

On white

8.72
#30541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30541A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30541A#FFFFFF#000000##FFFFFF
##30541A1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D13
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#2F5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #30541a;
/* rgb */ color: rgb(48, 84, 26);
/* oklch */ color: oklch(40.5% 0.096 135.6);
Tailwind
colors: {
  custom: {
    50: '#6b8459',
    500: '#30541a',
    950: '#000000',
  },
}
SCSS
$custom: #30541a;
$custom-light: #6b8459;
$custom-dark: #000000;
JSON
{
  "hex": "#30541a",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 97.241,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.09568,
    "h": 135.6
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#30541A
secondary
#6E408A
accent
#4CDCA5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30541A

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

Preview Lab → · Contrast checker → · Palette generator →

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