#304634#304634

#304634 is a dark, muted green. Relative luminance 0.053; OKLCH L 37.0% C 0.041 H 149.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#304634
RGBrgb(48, 70, 52)
HSLhsl(131, 19%, 23%)
HSVhsv(131, 31%, 27%)
CMYKcmyk(31.4%, 0%, 25.7%, 72.5%)
CIE-LABlab(27.45, -12.97, 8.15)
CIE-LCHlch(27.45, 15.32, 147.83°)
OKLaboklab(37% -0.0356 0.0209)
OKLCHoklch(37% 0.041 149.6)
XYZxyz(4.0287, 5.2565, 4.0505)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304634 #463042
analogous
#374630 #304634 #30463F
triadic
#304634 #343046 #463430
tetradic
#304634 #303746 #463042 #463F30
square
#304634 #303746 #463042 #463F30
split-complementary
#304634 #3F3046 #463037
monochromatic
#0C120D #172219 #304634 #496A4F #628F6A

Accessibility & contrast

On white

10.24
#304634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#304634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304634
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304634#FFFFFF#000000##FFFFFF
##3046341.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464233
Deuteranopia (green-blind)
#434035
Tritanopia (blue-blind)
#2D4541
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #304634;
/* rgb */ color: rgb(48, 70, 52);
/* oklch */ color: oklch(37.0% 0.041 149.6);
Tailwind
colors: {
  custom: {
    50: '#69796b',
    500: '#304634',
    950: '#000000',
  },
}
SCSS
$custom: #304634;
$custom-light: #69796b;
$custom-dark: #000000;
JSON
{
  "hex": "#304634",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 52
  },
  "hsl": {
    "h": 130.909,
    "s": 18.644,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36997,
    "c": 0.04124,
    "h": 149.6
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#304634
secondary
#775B72
accent
#6DADBB
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060906
muted
#7A7B7A

Preview Lab

Preview with #304634

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

Preview Lab → · Contrast checker → · Palette generator →

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