#306E2A#306E2A

#306E2A is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.1% C 0.120 H 141.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#306E2A
RGBrgb(48, 110, 42)
HSLhsl(115, 45%, 30%)
HSVhsv(115, 62%, 43%)
CMYKcmyk(56.4%, 0%, 61.8%, 56.9%)
CIE-LABlab(41.13, -34.57, 31.38)
CIE-LCHlch(41.13, 46.69, 137.77°)
OKLaboklab(48.09% -0.0943 0.0739)
OKLCHoklch(48.09% 0.12 141.9)
XYZxyz(7.2124, 11.9468, 4.1159)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E2A #682A6E
analogous
#526E2A #306E2A #2A6E46
triadic
#306E2A #2A306E #6E2A30
tetradic
#306E2A #2A526E #682A6E #6E462A
square
#306E2A #2A526E #682A6E #6E462A
split-complementary
#306E2A #462A6E #6E2A52
monochromatic
#0A1608 #1D4219 #306E2A #439A3B #5EBE55

Accessibility & contrast

On white

6.20
#306E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#306E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306E2A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E2A#FFFFFF#000000##FFFFFF
##306E2A1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716423
Deuteranopia (green-blind)
#685F2F
Tritanopia (blue-blind)
#286B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306e2a;
/* rgb */ color: rgb(48, 110, 42);
/* oklch */ color: oklch(48.1% 0.120 141.9);
Tailwind
colors: {
  custom: {
    50: '#6f9866',
    500: '#306e2a',
    950: '#000000',
  },
}
SCSS
$custom: #306e2a;
$custom-light: #6f9866;
$custom-dark: #000000;
JSON
{
  "hex": "#306e2a",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 42
  },
  "hsl": {
    "h": 114.706,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.11979,
    "h": 141.9
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#306E2A
secondary
#9954A0
accent
#53D4C9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #306E2A

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

Preview Lab → · Contrast checker → · Palette generator →

#306E2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva