#306D1F#306D1F

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

Color values

HEX#306D1F
RGBrgb(48, 109, 31)
HSLhsl(107, 56%, 27%)
HSVhsv(107, 72%, 43%)
CMYKcmyk(56%, 0%, 71.6%, 57.3%)
CIE-LABlab(40.68, -35.37, 36.11)
CIE-LCHlch(40.68, 50.55, 134.40°)
OKLaboklab(47.68% -0.0972 0.0827)
OKLCHoklch(47.68% 0.128 139.6)
XYZxyz(6.9346, 11.6640, 3.1820)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D1F #5C1F6D
analogous
#576D1F #306D1F #1F6D35
triadic
#306D1F #1F306D #6D1F30
tetradic
#306D1F #1F576D #5C1F6D #6D351F
square
#306D1F #1F576D #5C1F6D #6D351F
split-complementary
#306D1F #351F6D #6D1F57
monochromatic
#0A1807 #1B3D11 #306D1F #459D2D #5CC83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306D1F#FFFFFF#000000##FFFFFF
##306D1F1.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)
#706314
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#2A695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d1f;
/* rgb */ color: rgb(48, 109, 31);
/* oklch */ color: oklch(47.7% 0.128 139.6);
Tailwind
colors: {
  custom: {
    50: '#6f975f',
    500: '#306d1f',
    950: '#000000',
  },
}
SCSS
$custom: #306d1f;
$custom-light: #6f975f;
$custom-dark: #000000;
JSON
{
  "hex": "#306d1f",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 106.923,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.12757,
    "h": 139.6
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#306D1F
secondary
#8D47A1
accent
#49DFBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #306D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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