#306D1C#306D1C

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

Color values

HEX#306D1C
RGBrgb(48, 109, 28)
HSLhsl(105, 59%, 27%)
HSVhsv(105, 74%, 43%)
CMYKcmyk(56%, 0%, 74.3%, 57.3%)
CIE-LABlab(40.65, -35.64, 37.38)
CIE-LCHlch(40.65, 51.65, 133.64°)
OKLaboklab(47.65% -0.0981 0.0849)
OKLCHoklch(47.65% 0.13 139.1)
XYZxyz(6.8969, 11.6490, 2.9834)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D1C #591C6D
analogous
#596D1C #306D1C #1C6D31
triadic
#306D1C #1C306D #6D1C30
tetradic
#306D1C #1C596D #591C6D #6D311C
square
#306D1C #1C596D #591C6D #6D311C
split-complementary
#306D1C #311C6D #6D1C59
monochromatic
#0B1806 #1B3C0F #306D1C #459E29 #5CCC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306D1C#FFFFFF#000000##FFFFFF
##306D1C1.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)
#70630F
Deuteranopia (green-blind)
#685E24
Tritanopia (blue-blind)
#2A695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d1c;
/* rgb */ color: rgb(48, 109, 28);
/* oklch */ color: oklch(47.7% 0.130 139.1);
Tailwind
colors: {
  custom: {
    50: '#6f975d',
    500: '#306d1c',
    950: '#000000',
  },
}
SCSS
$custom: #306d1c;
$custom-light: #6f975d;
$custom-dark: #000000;
JSON
{
  "hex": "#306d1c",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 28
  },
  "hsl": {
    "h": 105.185,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.12975,
    "h": 139.1
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#306D1C
secondary
#8A43A2
accent
#45E2BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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