#306D1E#306D1E

#306D1E is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.128 H 139.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#306D1E
RGBrgb(48, 109, 30)
HSLhsl(106, 57%, 27%)
HSVhsv(106, 72%, 43%)
CMYKcmyk(56%, 0%, 72.5%, 57.3%)
CIE-LABlab(40.67, -35.46, 36.54)
CIE-LCHlch(40.67, 50.92, 134.14°)
OKLaboklab(47.67% -0.0975 0.0834)
OKLCHoklch(47.67% 0.128 139.4)
XYZxyz(6.9216, 11.6588, 3.1137)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D1E #5B1E6D
analogous
#586D1E #306D1E #1E6D33
triadic
#306D1E #1E306D #6D1E30
tetradic
#306D1E #1E586D #5B1E6D #6D331E
square
#306D1E #1E586D #5B1E6D #6D331E
split-complementary
#306D1E #331E6D #6D1E58
monochromatic
#0B1807 #1B3D11 #306D1E #459D2B #5CC93C

Accessibility & contrast

On white

6.30
#306D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#306D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D1E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D1E#FFFFFF#000000##FFFFFF
##306D1E1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706312
Deuteranopia (green-blind)
#685E25
Tritanopia (blue-blind)
#2A695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d1e;
/* rgb */ color: rgb(48, 109, 30);
/* oklch */ color: oklch(47.7% 0.128 139.4);
Tailwind
colors: {
  custom: {
    50: '#6f975f',
    500: '#306d1e',
    950: '#000000',
  },
}
SCSS
$custom: #306d1e;
$custom-light: #6f975f;
$custom-dark: #000000;
JSON
{
  "hex": "#306d1e",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 106.329,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47671,
    "c": 0.12831,
    "h": 139.4
  },
  "luminance": 0.11659
}

Semantic roles & 50–950 ramp

primary
#306D1E
secondary
#8C45A1
accent
#48E0BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #306D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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