#306D1B#306D1B

#306D1B is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.6% C 0.130 H 139.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#306D1B
RGBrgb(48, 109, 27)
HSLhsl(105, 60%, 27%)
HSVhsv(105, 75%, 43%)
CMYKcmyk(56%, 0%, 75.2%, 57.3%)
CIE-LABlab(40.65, -35.73, 37.79)
CIE-LCHlch(40.65, 52.01, 133.39°)
OKLaboklab(47.64% -0.0984 0.0856)
OKLCHoklch(47.64% 0.13 139)
XYZxyz(6.8851, 11.6442, 2.9214)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D1B #581B6D
analogous
#596D1B #306D1B #1B6D2F
triadic
#306D1B #1B306D #6D1B30
tetradic
#306D1B #1B596D #581B6D #6D2F1B
square
#306D1B #1B596D #581B6D #6D2F1B
split-complementary
#306D1B #2F1B6D #6D1B59
monochromatic
#0B1906 #1A3C0F #306D1B #469E27 #5CCD35

Accessibility & contrast

On white

6.31
#306D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306D1B
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D1B#FFFFFF#000000##FFFFFF
##306D1B1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630D
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#2A695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d1b;
/* rgb */ color: rgb(48, 109, 27);
/* oklch */ color: oklch(47.6% 0.130 139.0);
Tailwind
colors: {
  custom: {
    50: '#6f975d',
    500: '#306d1b',
    950: '#000000',
  },
}
SCSS
$custom: #306d1b;
$custom-light: #6f975d;
$custom-dark: #000000;
JSON
{
  "hex": "#306d1b",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 104.634,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.13044,
    "h": 139
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#306D1B
secondary
#8942A2
accent
#44E3BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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