#306C1B#306C1B

#306C1B is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.4% C 0.129 H 138.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#306C1B
RGBrgb(48, 108, 27)
HSLhsl(104, 60%, 26%)
HSVhsv(104, 75%, 42%)
CMYKcmyk(55.6%, 0%, 75%, 57.6%)
CIE-LABlab(40.30, -35.31, 37.43)
CIE-LCHlch(40.30, 51.46, 133.33°)
OKLaboklab(47.36% -0.0973 0.0849)
OKLCHoklch(47.36% 0.129 138.9)
XYZxyz(6.7791, 11.4321, 2.8861)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C1B #571B6C
analogous
#596C1B #306C1B #1B6C2F
triadic
#306C1B #1B306C #6C1B30
tetradic
#306C1B #1B596C #571B6C #6C2F1B
square
#306C1B #1B596C #571B6C #6C2F1B
split-complementary
#306C1B #2F1B6C #6C1B59
monochromatic
#0B1806 #1A3B0F #306C1B #469D27 #5CCC35

Accessibility & contrast

On white

6.39
#306C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306C1B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C1B#FFFFFF#000000##FFFFFF
##306C1B1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620D
Deuteranopia (green-blind)
#685D23
Tritanopia (blue-blind)
#2A685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c1b;
/* rgb */ color: rgb(48, 108, 27);
/* oklch */ color: oklch(47.4% 0.129 138.9);
Tailwind
colors: {
  custom: {
    50: '#6f975d',
    500: '#306c1b',
    950: '#000000',
  },
}
SCSS
$custom: #306c1b;
$custom-light: #6f975d;
$custom-dark: #000000;
JSON
{
  "hex": "#306c1b",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 104.444,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.1291,
    "h": 138.9
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#306C1B
secondary
#8842A1
accent
#45E3BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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