#304B2A#304B2A

#304B2A is a dark, moderate green. Relative luminance 0.058; OKLCH L 38.2% C 0.063 H 140.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#304B2A
RGBrgb(48, 75, 42)
HSLhsl(109, 28%, 23%)
HSVhsv(109, 44%, 29%)
CMYKcmyk(36%, 0%, 44%, 70.6%)
CIE-LABlab(28.97, -17.74, 16.49)
CIE-LCHlch(28.97, 24.23, 137.09°)
OKLaboklab(38.15% -0.0485 0.0407)
OKLCHoklch(38.15% 0.063 140)
XYZxyz(4.1528, 5.8275, 3.0961)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304B2A #452A4B
analogous
#404B2A #304B2A #2A4B34
triadic
#304B2A #2A304B #4B2A30
tetradic
#304B2A #2A404B #452A4B #4B342A
square
#304B2A #2A404B #452A4B #4B342A
split-complementary
#304B2A #342A4B #4B2A40
monochromatic
#0D140B #172414 #304B2A #497240 #629956

Accessibility & contrast

On white

9.70
#304B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#304B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304B2A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304B2A#FFFFFF#000000##FFFFFF
##304B2A1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4628
Deuteranopia (green-blind)
#49432C
Tritanopia (blue-blind)
#2E4943
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304b2a;
/* rgb */ color: rgb(48, 75, 42);
/* oklch */ color: oklch(38.2% 0.063 140.0);
Tailwind
colors: {
  custom: {
    50: '#697d64',
    500: '#304b2a',
    950: '#000000',
  },
}
SCSS
$custom: #304b2a;
$custom-light: #697d64;
$custom-dark: #000000;
JSON
{
  "hex": "#304b2a",
  "rgb": {
    "r": 48,
    "g": 75,
    "b": 42
  },
  "hsl": {
    "h": 109.091,
    "s": 28.205,
    "l": 22.941
  },
  "oklch": {
    "l": 0.38153,
    "c": 0.0633,
    "h": 140
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#304B2A
secondary
#76547D
accent
#63C5B3
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060905
muted
#7A7B79

Preview Lab

Preview with #304B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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