#30542E#30542E

#30542E is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.8% C 0.075 H 142.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#30542E
RGBrgb(48, 84, 46)
HSLhsl(117, 29%, 25%)
HSVhsv(117, 45%, 33%)
CMYKcmyk(42.9%, 0%, 45.2%, 67.1%)
CIE-LABlab(32.18, -21.82, 18.23)
CIE-LCHlch(32.18, 28.43, 140.11°)
OKLaboklab(40.78% -0.0595 0.0449)
OKLCHoklch(40.78% 0.075 142.9)
XYZxyz(4.8822, 7.1660, 3.7102)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30542E #522E54
analogous
#43542E #30542E #2E543F
triadic
#30542E #2E3054 #542E30
tetradic
#30542E #2E4354 #522E54 #543F2E
square
#30542E #2E4354 #522E54 #543F2E
split-complementary
#30542E #3F2E54 #542E43
monochromatic
#0B140B #192C18 #30542E #477C44 #5DA359

Accessibility & contrast

On white

8.63
#30542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#30542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30542E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30542E#FFFFFF#000000##FFFFFF
##30542E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2B
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#2C524B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30542e;
/* rgb */ color: rgb(48, 84, 46);
/* oklch */ color: oklch(40.8% 0.075 142.9);
Tailwind
colors: {
  custom: {
    50: '#6a8467',
    500: '#30542e',
    950: '#000000',
  },
}
SCSS
$custom: #30542e;
$custom-light: #6a8467;
$custom-dark: #000000;
JSON
{
  "hex": "#30542e",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 116.842,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.40782,
    "c": 0.07451,
    "h": 142.9
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#30542E
secondary
#835886
accent
#62C5C0
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070B06
muted
#7A7C7A

Preview Lab

Preview with #30542E

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

Preview Lab → · Contrast checker → · Palette generator →

#30542E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva