#304532#304532

#304532 is a dark, muted green. Relative luminance 0.051; OKLCH L 36.7% C 0.042 H 147.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#304532
RGBrgb(48, 69, 50)
HSLhsl(126, 18%, 23%)
HSVhsv(126, 30%, 27%)
CMYKcmyk(30.4%, 0%, 27.5%, 72.9%)
CIE-LABlab(27.06, -12.81, 8.90)
CIE-LCHlch(27.06, 15.60, 145.23°)
OKLaboklab(36.66% -0.0351 0.0227)
OKLCHoklch(36.66% 0.042 147.1)
XYZxyz(3.9226, 5.1148, 3.7976)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304532 #453043
analogous
#384530 #304532 #30453C
triadic
#304532 #323045 #453230
tetradic
#304532 #303845 #453043 #453C30
square
#304532 #303845 #453043 #453C30
split-complementary
#304532 #3C3045 #453038
monochromatic
#0D120D #172118 #304532 #49694C #628D66

Accessibility & contrast

On white

10.38
#304532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#304532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304532
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304532#FFFFFF#000000##FFFFFF
##3045321.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464131
Deuteranopia (green-blind)
#423F33
Tritanopia (blue-blind)
#2E4440
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304532;
/* rgb */ color: rgb(48, 69, 50);
/* oklch */ color: oklch(36.7% 0.042 147.1);
Tailwind
colors: {
  custom: {
    50: '#69786a',
    500: '#304532',
    950: '#000000',
  },
}
SCSS
$custom: #304532;
$custom-light: #69786a;
$custom-dark: #000000;
JSON
{
  "hex": "#304532",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 50
  },
  "hsl": {
    "h": 125.714,
    "s": 17.949,
    "l": 22.941
  },
  "oklch": {
    "l": 0.36664,
    "c": 0.04176,
    "h": 147.1
  },
  "luminance": 0.05115
}

Semantic roles & 50–950 ramp

primary
#304532
secondary
#765B73
accent
#6DB3BB
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060906
muted
#7A7B7A

Preview Lab

Preview with #304532

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

Preview Lab → · Contrast checker → · Palette generator →

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