#306A1C#306A1C

#306A1C is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.8% C 0.126 H 138.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#306A1C
RGBrgb(48, 106, 28)
HSLhsl(105, 58%, 26%)
HSVhsv(105, 74%, 42%)
CMYKcmyk(54.7%, 0%, 73.6%, 58.4%)
CIE-LABlab(39.61, -34.39, 36.31)
CIE-LCHlch(39.61, 50.00, 133.44°)
OKLaboklab(46.8% -0.0947 0.0827)
OKLCHoklch(46.8% 0.126 138.9)
XYZxyz(6.5823, 11.0198, 2.8786)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A1C #561C6A
analogous
#576A1C #306A1C #1C6A2F
triadic
#306A1C #1C306A #6A1C30
tetradic
#306A1C #1C576A #561C6A #6A2F1C
square
#306A1C #1C576A #561C6A #6A2F1C
split-complementary
#306A1C #2F1C6A #6A1C57
monochromatic
#0B1806 #1A3A0F #306A1C #469A29 #5CCA36

Accessibility & contrast

On white

6.55
#306A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#306A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A1C
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A1C#FFFFFF#000000##FFFFFF
##306A1C1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6010
Deuteranopia (green-blind)
#665B23
Tritanopia (blue-blind)
#2B665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306a1c;
/* rgb */ color: rgb(48, 106, 28);
/* oklch */ color: oklch(46.8% 0.126 138.9);
Tailwind
colors: {
  custom: {
    50: '#6f955d',
    500: '#306a1c',
    950: '#000000',
  },
}
SCSS
$custom: #306a1c;
$custom-light: #6f955d;
$custom-dark: #000000;
JSON
{
  "hex": "#306a1c",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 104.615,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46797,
    "c": 0.12571,
    "h": 138.9
  },
  "luminance": 0.1102
}

Semantic roles & 50–950 ramp

primary
#306A1C
secondary
#87439F
accent
#46E1BA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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