#306236#306236

#306236 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.9% C 0.089 H 146.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#306236
RGBrgb(48, 98, 54)
HSLhsl(127, 34%, 29%)
HSVhsv(127, 51%, 38%)
CMYKcmyk(51%, 0%, 44.9%, 61.6%)
CIE-LABlab(37.17, -27.34, 19.96)
CIE-LCHlch(37.17, 33.85, 143.87°)
OKLaboklab(44.9% -0.0743 0.0492)
OKLCHoklch(44.9% 0.089 146.5)
XYZxyz(6.2521, 9.6296, 5.0186)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306236 #62305C
analogous
#436230 #306236 #30624F
triadic
#306236 #363062 #623630
tetradic
#306236 #304362 #62305C #624F30
square
#306236 #304362 #62305C #624F30
split-complementary
#306236 #4F3062 #623043
monochromatic
#0A150B #1C391F #306236 #448B4D #5DB067

Accessibility & contrast

On white

7.18
#306236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#306236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306236
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306236#FFFFFF#000000##FFFFFF
##3062361.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A33
Deuteranopia (green-blind)
#5C5639
Tritanopia (blue-blind)
#286057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306236;
/* rgb */ color: rgb(48, 98, 54);
/* oklch */ color: oklch(44.9% 0.089 146.5);
Tailwind
colors: {
  custom: {
    50: '#6c8f6d',
    500: '#306236',
    950: '#000000',
  },
}
SCSS
$custom: #306236;
$custom-light: #6c8f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#306236",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 54
  },
  "hsl": {
    "h": 127.2,
    "s": 34.247,
    "l": 28.627
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.08909,
    "h": 146.5
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#306236
secondary
#935A8D
accent
#5DBDCA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #306236

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

Preview Lab → · Contrast checker → · Palette generator →

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