#304C3A#304C3A

#304C3A is a dark, muted green. Relative luminance 0.061; OKLCH L 38.8% C 0.046 H 155.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#304C3A
RGBrgb(48, 76, 58)
HSLhsl(141, 23%, 24%)
HSVhsv(141, 37%, 30%)
CMYKcmyk(36.8%, 0%, 23.7%, 70.2%)
CIE-LABlab(29.67, -15.08, 7.41)
CIE-LCHlch(29.67, 16.80, 153.83°)
OKLaboklab(38.83% -0.0416 0.019)
OKLCHoklch(38.83% 0.046 155.5)
XYZxyz(4.5668, 6.1025, 4.9394)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304C3A #4C3042
analogous
#344C30 #304C3A #304C48
triadic
#304C3A #3A304C #4C3A30
tetradic
#304C3A #30344C #4C3042 #4C4830
square
#304C3A #30344C #4C3042 #4C4830
split-complementary
#304C3A #48304C #4C3034
monochromatic
#0C130E #18261D #304C3A #487257 #5F9773

Accessibility & contrast

On white

9.46
#304C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#304C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304C3A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304C3A#FFFFFF#000000##FFFFFF
##304C3A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4839
Deuteranopia (green-blind)
#47453B
Tritanopia (blue-blind)
#2B4B47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #304c3a;
/* rgb */ color: rgb(48, 76, 58);
/* oklch */ color: oklch(38.8% 0.046 155.5);
Tailwind
colors: {
  custom: {
    50: '#697e70',
    500: '#304c3a',
    950: '#000000',
  },
}
SCSS
$custom: #304c3a;
$custom-light: #697e70;
$custom-dark: #000000;
JSON
{
  "hex": "#304c3a",
  "rgb": {
    "r": 48,
    "g": 76,
    "b": 58
  },
  "hsl": {
    "h": 141.429,
    "s": 22.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.38831,
    "c": 0.04577,
    "h": 155.5
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#304C3A
secondary
#7D5B71
accent
#69A0BF
background
#F6F7F6
surface
#EBEEEC
border
#C6C9C7
text
#060A07
muted
#7A7C7A

Preview Lab

Preview with #304C3A

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

Preview Lab → · Contrast checker → · Palette generator →

#304C3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva