#304036#304036

#304036 is a dark, muted green. Relative luminance 0.046; OKLCH L 35.4% C 0.027 H 157.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#304036
RGBrgb(48, 64, 54)
HSLhsl(143, 14%, 22%)
HSVhsv(143, 25%, 25%)
CMYKcmyk(25%, 0%, 15.6%, 74.9%)
CIE-LABlab(25.45, -8.92, 4.02)
CIE-LCHlch(25.45, 9.79, 155.72°)
OKLaboklab(35.41% -0.0249 0.0104)
OKLCHoklch(35.41% 0.027 157.3)
XYZxyz(3.7180, 4.5614, 4.1739)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304036 #40303A
analogous
#324030 #304036 #30403E
triadic
#304036 #363040 #403630
tetradic
#304036 #303240 #40303A #403E30
square
#304036 #303240 #40303A #403E30
split-complementary
#304036 #3E3040 #403032
monochromatic
#0D110F #161D18 #304036 #4A6354 #648671

Accessibility & contrast

On white

10.98
#304036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#304036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304036
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304036#FFFFFF#000000##FFFFFF
##3040361.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D35
Deuteranopia (green-blind)
#3D3C37
Tritanopia (blue-blind)
#2D403D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #304036;
/* rgb */ color: rgb(48, 64, 54);
/* oklch */ color: oklch(35.4% 0.027 157.3);
Tailwind
colors: {
  custom: {
    50: '#68746d',
    500: '#304036',
    950: '#000000',
  },
}
SCSS
$custom: #304036;
$custom-light: #68746d;
$custom-dark: #000000;
JSON
{
  "hex": "#304036",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 54
  },
  "hsl": {
    "h": 142.5,
    "s": 14.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.35405,
    "c": 0.02698,
    "h": 157.3
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#304036
secondary
#705C68
accent
#719DB7
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060807
muted
#7A7B7A

Preview Lab

Preview with #304036

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

Preview Lab → · Contrast checker → · Palette generator →

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