#306232#306232

#306232 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.093 H 144.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#306232
RGBrgb(48, 98, 50)
HSLhsl(122, 34%, 29%)
HSVhsv(122, 51%, 38%)
CMYKcmyk(51%, 0%, 49%, 61.6%)
CIE-LABlab(37.10, -28.03, 22.18)
CIE-LCHlch(37.10, 35.75, 141.64°)
OKLaboklab(44.82% -0.0762 0.0541)
OKLCHoklch(44.82% 0.093 144.6)
XYZxyz(6.1620, 9.5936, 4.5440)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306232 #623060
analogous
#476230 #306232 #30624B
triadic
#306232 #323062 #623230
tetradic
#306232 #304762 #623060 #624B30
square
#306232 #304762 #623060 #624B30
split-complementary
#306232 #4B3062 #623047
monochromatic
#0A150A #1C391D #306232 #448B47 #5DB060

Accessibility & contrast

On white

7.19
#306232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#306232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306232
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306232#FFFFFF#000000##FFFFFF
##3062321.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2E
Deuteranopia (green-blind)
#5D5535
Tritanopia (blue-blind)
#296057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306232;
/* rgb */ color: rgb(48, 98, 50);
/* oklch */ color: oklch(44.8% 0.093 144.6);
Tailwind
colors: {
  custom: {
    50: '#6c8f6b',
    500: '#306232',
    950: '#000000',
  },
}
SCSS
$custom: #306232;
$custom-light: #6c8f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#306232",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 50
  },
  "hsl": {
    "h": 122.4,
    "s": 34.247,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4482,
    "c": 0.09348,
    "h": 144.6
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

primary
#306232
secondary
#935A91
accent
#5DC6CA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #306232

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

Preview Lab → · Contrast checker → · Palette generator →

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