#306C1F#306C1F

#306C1F is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.126 H 139.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#306C1F
RGBrgb(48, 108, 31)
HSLhsl(107, 55%, 27%)
HSVhsv(107, 71%, 42%)
CMYKcmyk(55.6%, 0%, 71.3%, 57.6%)
CIE-LABlab(40.33, -34.95, 35.75)
CIE-LCHlch(40.33, 49.99, 134.35°)
OKLaboklab(47.4% -0.096 0.0819)
OKLCHoklch(47.4% 0.126 139.5)
XYZxyz(6.8285, 11.4519, 3.1467)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C1F #5B1F6C
analogous
#576C1F #306C1F #1F6C34
triadic
#306C1F #1F306C #6C1F30
tetradic
#306C1F #1F576C #5B1F6C #6C341F
square
#306C1F #1F576C #5B1F6C #6C341F
split-complementary
#306C1F #341F6C #6C1F57
monochromatic
#0B1807 #1B3C11 #306C1F #459C2D #5CC83E

Accessibility & contrast

On white

6.38
#306C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#306C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306C1F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C1F#FFFFFF#000000##FFFFFF
##306C1F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#2A685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c1f;
/* rgb */ color: rgb(48, 108, 31);
/* oklch */ color: oklch(47.4% 0.126 139.5);
Tailwind
colors: {
  custom: {
    50: '#6f975f',
    500: '#306c1f',
    950: '#000000',
  },
}
SCSS
$custom: #306c1f;
$custom-light: #6f975f;
$custom-dark: #000000;
JSON
{
  "hex": "#306c1f",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 106.753,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.1262,
    "h": 139.5
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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