#304337#304337

#304337 is a dark, muted green. Relative luminance 0.049; OKLCH L 36.3% C 0.032 H 156.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#304337
RGBrgb(48, 67, 55)
HSLhsl(142, 17%, 23%)
HSVhsv(142, 28%, 26%)
CMYKcmyk(28.4%, 0%, 17.9%, 73.7%)
CIE-LABlab(26.50, -10.51, 4.87)
CIE-LCHlch(26.50, 11.58, 155.13°)
OKLaboklab(36.26% -0.0292 0.0126)
OKLCHoklch(36.26% 0.032 156.7)
XYZxyz(3.9155, 4.9184, 4.3567)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304337 #43303C
analogous
#324330 #304337 #304340
triadic
#304337 #373043 #433730
tetradic
#304337 #303243 #43303C #434030
square
#304337 #303243 #43303C #434030
split-complementary
#304337 #403043 #433032
monochromatic
#0D120F #161F1A #304337 #4A6754 #638A72

Accessibility & contrast

On white

10.59
#304337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#304337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304337
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304337#FFFFFF#000000##FFFFFF
##3043371.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434036
Deuteranopia (green-blind)
#3F3E38
Tritanopia (blue-blind)
#2D4340
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #304337;
/* rgb */ color: rgb(48, 67, 55);
/* oklch */ color: oklch(36.3% 0.032 156.7);
Tailwind
colors: {
  custom: {
    50: '#68776d',
    500: '#304337',
    950: '#000000',
  },
}
SCSS
$custom: #304337;
$custom-light: #68776d;
$custom-dark: #000000;
JSON
{
  "hex": "#304337",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 55
  },
  "hsl": {
    "h": 142.105,
    "s": 16.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.36258,
    "c": 0.03182,
    "h": 156.7
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#304337
secondary
#735B6B
accent
#6F9EB9
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060807
muted
#7A7B7A

Preview Lab

Preview with #304337

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

Preview Lab → · Contrast checker → · Palette generator →

#304337 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva