#306E1C#306E1C

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

Color values

HEX#306E1C
RGBrgb(48, 110, 28)
HSLhsl(105, 59%, 27%)
HSVhsv(105, 75%, 43%)
CMYKcmyk(56.4%, 0%, 74.5%, 56.9%)
CIE-LABlab(41.00, -36.06, 37.74)
CIE-LCHlch(41.00, 52.19, 133.70°)
OKLaboklab(47.94% -0.0992 0.0857)
OKLCHoklch(47.94% 0.131 139.2)
XYZxyz(7.0042, 11.8635, 3.0192)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E1C #5A1C6E
analogous
#596E1C #306E1C #1C6E31
triadic
#306E1C #1C306E #6E1C30
tetradic
#306E1C #1C596E #5A1C6E #6E311C
square
#306E1C #1C596E #5A1C6E #6E311C
split-complementary
#306E1C #311C6E #6E1C59
monochromatic
#0B1806 #1B3D10 #306E1C #459F28 #5CCC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306E1C#FFFFFF#000000##FFFFFF
##306E1C1.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)
#71640F
Deuteranopia (green-blind)
#695F24
Tritanopia (blue-blind)
#2A6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306e1c;
/* rgb */ color: rgb(48, 110, 28);
/* oklch */ color: oklch(47.9% 0.131 139.2);
Tailwind
colors: {
  custom: {
    50: '#70985e',
    500: '#306e1c',
    950: '#000000',
  },
}
SCSS
$custom: #306e1c;
$custom-light: #70985e;
$custom-dark: #000000;
JSON
{
  "hex": "#306e1c",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 105.366,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47938,
    "c": 0.13109,
    "h": 139.2
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#306E1C
secondary
#8B43A3
accent
#45E3BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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