#304C2C#304C2C

#304C2C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.5% C 0.063 H 141.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#304C2C
RGBrgb(48, 76, 44)
HSLhsl(113, 27%, 24%)
HSVhsv(113, 42%, 30%)
CMYKcmyk(36.8%, 0%, 42.1%, 70.2%)
CIE-LABlab(29.36, -17.94, 15.77)
CIE-LCHlch(29.36, 23.89, 138.67°)
OKLaboklab(38.48% -0.0489 0.0391)
OKLCHoklch(38.48% 0.063 141.4)
XYZxyz(4.2578, 5.9789, 3.3121)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304C2C #482C4C
analogous
#404C2C #304C2C #2C4C38
triadic
#304C2C #2C304C #4C2C30
tetradic
#304C2C #2C404C #482C4C #4C382C
square
#304C2C #2C404C #482C4C #4C382C
split-complementary
#304C2C #382C4C #4C2C40
monochromatic
#0C130B #182516 #304C2C #487342 #619A59

Accessibility & contrast

On white

9.56
#304C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304C2C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304C2C#FFFFFF#000000##FFFFFF
##304C2C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472A
Deuteranopia (green-blind)
#49442E
Tritanopia (blue-blind)
#2E4A44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #304c2c;
/* rgb */ color: rgb(48, 76, 44);
/* oklch */ color: oklch(38.5% 0.063 141.4);
Tailwind
colors: {
  custom: {
    50: '#697e65',
    500: '#304c2c',
    950: '#000000',
  },
}
SCSS
$custom: #304c2c;
$custom-light: #697e65;
$custom-dark: #000000;
JSON
{
  "hex": "#304c2c",
  "rgb": {
    "r": 48,
    "g": 76,
    "b": 44
  },
  "hsl": {
    "h": 112.5,
    "s": 26.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38478,
    "c": 0.06265,
    "h": 141.4
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#304C2C
secondary
#79567E
accent
#65C3B7
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #304C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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