#306F1B#306F1B

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

Color values

HEX#306F1B
RGBrgb(48, 111, 27)
HSLhsl(105, 61%, 27%)
HSVhsv(105, 76%, 44%)
CMYKcmyk(56.8%, 0%, 75.7%, 56.5%)
CIE-LABlab(41.34, -36.55, 38.49)
CIE-LCHlch(41.34, 53.08, 133.52°)
OKLaboklab(48.21% -0.1006 0.0871)
OKLCHoklch(48.21% 0.133 139.1)
XYZxyz(7.1009, 12.0758, 2.9934)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F1B #5A1B6F
analogous
#5A6F1B #306F1B #1B6F30
triadic
#306F1B #1B306F #6F1B30
tetradic
#306F1B #1B5A6F #5A1B6F #6F301B
square
#306F1B #1B5A6F #5A1B6F #6F301B
split-complementary
#306F1B #301B6F #6F1B5A
monochromatic
#0B1906 #1B3E0F #306F1B #45A027 #5CCE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306F1B#FFFFFF#000000##FFFFFF
##306F1B1.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)
#72650C
Deuteranopia (green-blind)
#6A6023
Tritanopia (blue-blind)
#2A6B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f1b;
/* rgb */ color: rgb(48, 111, 27);
/* oklch */ color: oklch(48.2% 0.133 139.1);
Tailwind
colors: {
  custom: {
    50: '#70995d',
    500: '#306f1b',
    950: '#000000',
  },
}
SCSS
$custom: #306f1b;
$custom-light: #70995d;
$custom-dark: #000000;
JSON
{
  "hex": "#306f1b",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 105,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48214,
    "c": 0.13308,
    "h": 139.1
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#306F1B
secondary
#8B42A4
accent
#44E4BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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