#304830#304830

#304830 is a dark, muted green. Relative luminance 0.055; OKLCH L 37.4% C 0.050 H 144.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#304830
RGBrgb(48, 72, 48)
HSLhsl(120, 20%, 24%)
HSVhsv(120, 33%, 28%)
CMYKcmyk(33.3%, 0%, 33.3%, 71.8%)
CIE-LABlab(28.05, -14.95, 11.53)
CIE-LCHlch(28.05, 18.88, 142.36°)
OKLaboklab(37.45% -0.0408 0.0291)
OKLCHoklch(37.45% 0.05 144.5)
XYZxyz(4.0696, 5.4763, 3.6383)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304830 #483048
analogous
#3C4830 #304830 #30483C
triadic
#304830 #303048 #483030
tetradic
#304830 #303C48 #483048 #483C30
square
#304830 #303C48 #483048 #483C30
split-complementary
#304830 #3C3048 #48303C
monochromatic
#0C120C #182318 #304830 #486D48 #619161

Accessibility & contrast

On white

10.02
#304830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#304830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304830
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304830#FFFFFF#000000##FFFFFF
##3048301.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49442E
Deuteranopia (green-blind)
#454131
Tritanopia (blue-blind)
#2E4742
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #304830;
/* rgb */ color: rgb(48, 72, 48);
/* oklch */ color: oklch(37.4% 0.050 144.5);
Tailwind
colors: {
  custom: {
    50: '#697b68',
    500: '#304830',
    950: '#000000',
  },
}
SCSS
$custom: #304830;
$custom-light: #697b68;
$custom-dark: #000000;
JSON
{
  "hex": "#304830",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 48
  },
  "hsl": {
    "h": 120,
    "s": 20,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37447,
    "c": 0.05012,
    "h": 144.5
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#304830
secondary
#795B79
accent
#6BBDBD
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060906
muted
#7A7B7A

Preview Lab

Preview with #304830

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

Preview Lab → · Contrast checker → · Palette generator →

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