#304536#304536

#304536 is a dark, muted green. Relative luminance 0.052; OKLCH L 36.8% C 0.037 H 153.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#304536
RGBrgb(48, 69, 54)
HSLhsl(137, 18%, 23%)
HSVhsv(137, 30%, 27%)
CMYKcmyk(30.4%, 0%, 21.7%, 72.9%)
CIE-LABlab(27.16, -11.93, 6.45)
CIE-LCHlch(27.16, 13.57, 151.60°)
OKLaboklab(36.78% -0.0329 0.0166)
OKLCHoklch(36.78% 0.037 153.3)
XYZxyz(4.0127, 5.1508, 4.2721)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304536 #45303F
analogous
#344530 #304536 #304540
triadic
#304536 #363045 #453630
tetradic
#304536 #303445 #45303F #454030
square
#304536 #303445 #45303F #454030
split-complementary
#304536 #403045 #453034
monochromatic
#0D120E #17211A #304536 #496952 #628D6E

Accessibility & contrast

On white

10.34
#304536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#304536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304536
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304536#FFFFFF#000000##FFFFFF
##3045361.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454235
Deuteranopia (green-blind)
#413F37
Tritanopia (blue-blind)
#2D4441
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304536;
/* rgb */ color: rgb(48, 69, 54);
/* oklch */ color: oklch(36.8% 0.037 153.3);
Tailwind
colors: {
  custom: {
    50: '#69786d',
    500: '#304536',
    950: '#000000',
  },
}
SCSS
$custom: #304536;
$custom-light: #69786d;
$custom-dark: #000000;
JSON
{
  "hex": "#304536",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 54
  },
  "hsl": {
    "h": 137.143,
    "s": 17.949,
    "l": 22.941
  },
  "oklch": {
    "l": 0.36778,
    "c": 0.0369,
    "h": 153.3
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#304536
secondary
#765B6E
accent
#6DA4BB
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060907
muted
#7A7B7A

Preview Lab

Preview with #304536

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

Preview Lab → · Contrast checker → · Palette generator →

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