#304A2A#304A2A

#304A2A is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.9% C 0.061 H 139.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#304A2A
RGBrgb(48, 74, 42)
HSLhsl(109, 28%, 23%)
HSVhsv(109, 43%, 29%)
CMYKcmyk(35.1%, 0%, 43.2%, 71%)
CIE-LABlab(28.62, -17.20, 16.04)
CIE-LCHlch(28.62, 23.52, 136.99°)
OKLaboklab(37.87% -0.047 0.0397)
OKLCHoklch(37.87% 0.061 139.8)
XYZxyz(4.0855, 5.6929, 3.0736)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304A2A #442A4A
analogous
#404A2A #304A2A #2A4A34
triadic
#304A2A #2A304A #4A2A30
tetradic
#304A2A #2A404A #442A4A #4A342A
square
#304A2A #2A404A #442A4A #4A342A
split-complementary
#304A2A #342A4A #4A2A40
monochromatic
#0D140B #172314 #304A2A #497140 #639856

Accessibility & contrast

On white

9.82
#304A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#304A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304A2A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304A2A#FFFFFF#000000##FFFFFF
##304A2A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4528
Deuteranopia (green-blind)
#48432C
Tritanopia (blue-blind)
#2E4842
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #304a2a;
/* rgb */ color: rgb(48, 74, 42);
/* oklch */ color: oklch(37.9% 0.061 139.8);
Tailwind
colors: {
  custom: {
    50: '#697c64',
    500: '#304a2a',
    950: '#000000',
  },
}
SCSS
$custom: #304a2a;
$custom-light: #697c64;
$custom-dark: #000000;
JSON
{
  "hex": "#304a2a",
  "rgb": {
    "r": 48,
    "g": 74,
    "b": 42
  },
  "hsl": {
    "h": 108.75,
    "s": 27.586,
    "l": 22.745
  },
  "oklch": {
    "l": 0.37871,
    "c": 0.06147,
    "h": 139.8
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#304A2A
secondary
#74547C
accent
#64C4B2
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060905
muted
#7A7B79

Preview Lab

Preview with #304A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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