#304B3D#304B3D

#304B3D is a dark, muted green. Relative luminance 0.060; OKLCH L 38.6% C 0.041 H 161.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#304B3D
RGBrgb(48, 75, 61)
HSLhsl(149, 22%, 24%)
HSVhsv(149, 36%, 29%)
CMYKcmyk(36%, 0%, 18.7%, 70.6%)
CIE-LABlab(29.41, -13.81, 5.12)
CIE-LCHlch(29.41, 14.72, 159.65°)
OKLaboklab(38.65% -0.0385 0.0132)
OKLCHoklch(38.65% 0.041 161.1)
XYZxyz(4.5770, 5.9972, 5.3304)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304B3D #4B303E
analogous
#314B30 #304B3D #304B4B
triadic
#304B3D #3D304B #4B3D30
tetradic
#304B3D #30314B #4B303E #4B4B30
square
#304B3D #30314B #4B303E #4B4B30
split-complementary
#304B3D #4B304B #4B3031
monochromatic
#0C130F #18261F #304B3D #48705B #60967A

Accessibility & contrast

On white

9.55
#304B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#304B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304B3D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304B3D#FFFFFF#000000##FFFFFF
##304B3D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A473C
Deuteranopia (green-blind)
#46443E
Tritanopia (blue-blind)
#2A4B47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #304b3d;
/* rgb */ color: rgb(48, 75, 61);
/* oklch */ color: oklch(38.6% 0.041 161.1);
Tailwind
colors: {
  custom: {
    50: '#697d72',
    500: '#304b3d',
    950: '#000000',
  },
}
SCSS
$custom: #304b3d;
$custom-light: #697d72;
$custom-dark: #000000;
JSON
{
  "hex": "#304b3d",
  "rgb": {
    "r": 48,
    "g": 75,
    "b": 61
  },
  "hsl": {
    "h": 148.889,
    "s": 21.951,
    "l": 24.118
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.04074,
    "h": 161.1
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#304B3D
secondary
#7C5B6C
accent
#6995BE
background
#F6F7F6
surface
#EBEEEC
border
#C6C9C7
text
#060908
muted
#7A7B7B

Preview Lab

Preview with #304B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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