#30541D#30541D

#30541D is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.5% C 0.093 H 136.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#30541D
RGBrgb(48, 84, 29)
HSLhsl(99, 49%, 22%)
HSVhsv(99, 65%, 33%)
CMYKcmyk(42.9%, 0%, 65.5%, 67.1%)
CIE-LABlab(31.94, -24.27, 27.51)
CIE-LCHlch(31.94, 36.69, 131.42°)
OKLaboklab(40.5% -0.0671 0.0642)
OKLCHoklch(40.5% 0.093 136.3)
XYZxyz(4.6109, 7.0575, 2.2814)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30541D #411D54
analogous
#4C541D #30541D #1D5426
triadic
#30541D #1D3054 #541D30
tetradic
#30541D #1D4C54 #411D54 #54261D
square
#30541D #1D4C54 #411D54 #54261D
split-complementary
#30541D #261D54 #541D4C
monochromatic
#0D1708 #16270D #30541D #4A812D #64AF3C

Accessibility & contrast

On white

8.71
#30541D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30541D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30541D#FFFFFF#000000##FFFFFF
##30541D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30541d;
/* rgb */ color: rgb(48, 84, 29);
/* oklch */ color: oklch(40.5% 0.093 136.3);
Tailwind
colors: {
  custom: {
    50: '#6b845b',
    500: '#30541d',
    950: '#000000',
  },
}
SCSS
$custom: #30541d;
$custom-light: #6b845b;
$custom-dark: #000000;
JSON
{
  "hex": "#30541d",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 99.273,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.09291,
    "h": 136.3
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#30541D
secondary
#714489
accent
#50D8A9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #30541D

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

Preview Lab → · Contrast checker → · Palette generator →

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