#306E1B#306E1B

#306E1B is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.132 H 139.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#306E1B
RGBrgb(48, 110, 27)
HSLhsl(105, 61%, 27%)
HSVhsv(105, 75%, 43%)
CMYKcmyk(56.4%, 0%, 75.5%, 56.9%)
CIE-LABlab(40.99, -36.14, 38.14)
CIE-LCHlch(40.99, 52.55, 133.46°)
OKLaboklab(47.93% -0.0995 0.0864)
OKLCHoklch(47.93% 0.132 139)
XYZxyz(6.9924, 11.8588, 2.9572)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E1B #591B6E
analogous
#5A6E1B #306E1B #1B6E30
triadic
#306E1B #1B306E #6E1B30
tetradic
#306E1B #1B5A6E #591B6E #6E301B
square
#306E1B #1B5A6E #591B6E #6E301B
split-complementary
#306E1B #301B6E #6E1B5A
monochromatic
#0B1906 #1B3D0F #306E1B #459F27 #5CCE36

Accessibility & contrast

On white

6.23
#306E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#306E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306E1B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E1B#FFFFFF#000000##FFFFFF
##306E1B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640D
Deuteranopia (green-blind)
#695F23
Tritanopia (blue-blind)
#2A6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306e1b;
/* rgb */ color: rgb(48, 110, 27);
/* oklch */ color: oklch(47.9% 0.132 139.0);
Tailwind
colors: {
  custom: {
    50: '#70985d',
    500: '#306e1b',
    950: '#000000',
  },
}
SCSS
$custom: #306e1b;
$custom-light: #70985d;
$custom-dark: #000000;
JSON
{
  "hex": "#306e1b",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 104.819,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.13177,
    "h": 139
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#306E1B
secondary
#8A42A3
accent
#44E4BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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