#306F1F#306F1F

#306F1F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.130 H 139.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#306F1F
RGBrgb(48, 111, 31)
HSLhsl(107, 56%, 28%)
HSVhsv(107, 72%, 44%)
CMYKcmyk(56.8%, 0%, 72.1%, 56.5%)
CIE-LABlab(41.37, -36.20, 36.85)
CIE-LCHlch(41.37, 51.65, 134.49°)
OKLaboklab(48.25% -0.0994 0.0842)
OKLCHoklch(48.25% 0.13 139.7)
XYZxyz(7.1504, 12.0956, 3.2539)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F1F #5E1F6F
analogous
#586F1F #306F1F #1F6F36
triadic
#306F1F #1F306F #6F1F30
tetradic
#306F1F #1F586F #5E1F6F #6F361F
square
#306F1F #1F586F #5E1F6F #6F361F
split-complementary
#306F1F #361F6F #6F1F58
monochromatic
#0A1807 #1B3F12 #306F1F #459F2C #5CC93F

Accessibility & contrast

On white

6.14
#306F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306F1F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F1F#FFFFFF#000000##FFFFFF
##306F1F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#6A6026
Tritanopia (blue-blind)
#296B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f1f;
/* rgb */ color: rgb(48, 111, 31);
/* oklch */ color: oklch(48.3% 0.130 139.7);
Tailwind
colors: {
  custom: {
    50: '#70995f',
    500: '#306f1f',
    950: '#000000',
  },
}
SCSS
$custom: #306f1f;
$custom-light: #70995f;
$custom-dark: #000000;
JSON
{
  "hex": "#306f1f",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 107.25,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.13028,
    "h": 139.7
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#306F1F
secondary
#8F47A3
accent
#48E0BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #306F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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