#306F1C#306F1C

#306F1C is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.132 H 139.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#306F1C
RGBrgb(48, 111, 28)
HSLhsl(106, 60%, 27%)
HSVhsv(106, 75%, 44%)
CMYKcmyk(56.8%, 0%, 74.8%, 56.5%)
CIE-LABlab(41.34, -36.47, 38.09)
CIE-LCHlch(41.34, 52.74, 133.75°)
OKLaboklab(48.22% -0.1003 0.0864)
OKLCHoklch(48.22% 0.132 139.3)
XYZxyz(7.1127, 12.0805, 3.0553)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F1C #5B1C6F
analogous
#5A6F1C #306F1C #1C6F32
triadic
#306F1C #1C306F #6F1C30
tetradic
#306F1C #1C5A6F #5B1C6F #6F321C
square
#306F1C #1C5A6F #5B1C6F #6F321C
split-complementary
#306F1C #321C6F #6F1C5A
monochromatic
#0B1806 #1B3E10 #306F1C #45A028 #5CCD38

Accessibility & contrast

On white

6.15
#306F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#306F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F1C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F1C#FFFFFF#000000##FFFFFF
##306F1C1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650E
Deuteranopia (green-blind)
#6A6024
Tritanopia (blue-blind)
#2A6B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f1c;
/* rgb */ color: rgb(48, 111, 28);
/* oklch */ color: oklch(48.2% 0.132 139.3);
Tailwind
colors: {
  custom: {
    50: '#70995e',
    500: '#306f1c',
    950: '#000000',
  },
}
SCSS
$custom: #306f1c;
$custom-light: #70995e;
$custom-dark: #000000;
JSON
{
  "hex": "#306f1c",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 105.542,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48222,
    "c": 0.13241,
    "h": 139.3
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#306F1C
secondary
#8C43A4
accent
#45E3BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #306F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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