#304A3C#304A3C

#304A3C is a dark, muted green. Relative luminance 0.059; OKLCH L 38.3% C 0.040 H 160.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#304A3C
RGBrgb(48, 74, 60)
HSLhsl(148, 21%, 24%)
HSVhsv(148, 35%, 29%)
CMYKcmyk(35.1%, 0%, 18.9%, 71%)
CIE-LABlab(29.04, -13.47, 5.24)
CIE-LCHlch(29.04, 14.45, 158.75°)
OKLaboklab(38.34% -0.0375 0.0135)
OKLCHoklch(38.34% 0.04 160.2)
XYZxyz(4.4830, 5.8520, 5.1674)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304A3C #4A303E
analogous
#314A30 #304A3C #304A49
triadic
#304A3C #3C304A #4A3C30
tetradic
#304A3C #30314A #4A303E #4A4930
square
#304A3C #30314A #4A303E #4A4930
split-complementary
#304A3C #49304A #4A3031
monochromatic
#0C130F #18251E #304A3C #486F5A #609478

Accessibility & contrast

On white

9.68
#304A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#304A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304A3C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304A3C#FFFFFF#000000##FFFFFF
##304A3C1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49463B
Deuteranopia (green-blind)
#45433D
Tritanopia (blue-blind)
#2B4A46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304a3c;
/* rgb */ color: rgb(48, 74, 60);
/* oklch */ color: oklch(38.3% 0.040 160.2);
Tailwind
colors: {
  custom: {
    50: '#697c71',
    500: '#304a3c',
    950: '#000000',
  },
}
SCSS
$custom: #304a3c;
$custom-light: #697c71;
$custom-dark: #000000;
JSON
{
  "hex": "#304a3c",
  "rgb": {
    "r": 48,
    "g": 74,
    "b": 60
  },
  "hsl": {
    "h": 147.692,
    "s": 21.311,
    "l": 23.922
  },
  "oklch": {
    "l": 0.38338,
    "c": 0.0399,
    "h": 160.2
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#304A3C
secondary
#7B5B6C
accent
#6A97BE
background
#F6F7F6
surface
#EBEEEC
border
#C6C9C7
text
#060907
muted
#7A7B7A

Preview Lab

Preview with #304A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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