#306C19#306C19

#306C19 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.130 H 138.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#306C19
RGBrgb(48, 108, 25)
HSLhsl(103, 62%, 26%)
HSVhsv(103, 77%, 42%)
CMYKcmyk(55.6%, 0%, 76.9%, 57.6%)
CIE-LABlab(40.28, -35.48, 38.23)
CIE-LCHlch(40.28, 52.16, 132.86°)
OKLaboklab(47.34% -0.0979 0.0862)
OKLCHoklch(47.34% 0.13 138.6)
XYZxyz(6.7567, 11.4232, 2.7684)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C19 #55196C
analogous
#596C19 #306C19 #196C2B
triadic
#306C19 #19306C #6C1930
tetradic
#306C19 #19596C #55196C #6C2B19
square
#306C19 #19596C #55196C #6C2B19
split-complementary
#306C19 #2B196C #6C1959
monochromatic
#0B1906 #1A3A0D #306C19 #469E25 #5CCF30

Accessibility & contrast

On white

6.39
#306C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#306C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306C19
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C19#FFFFFF#000000##FFFFFF
##306C191.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620A
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#2B685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c19;
/* rgb */ color: rgb(48, 108, 25);
/* oklch */ color: oklch(47.3% 0.130 138.6);
Tailwind
colors: {
  custom: {
    50: '#6f975c',
    500: '#306c19',
    950: '#000000',
  },
}
SCSS
$custom: #306c19;
$custom-light: #6f975c;
$custom-dark: #000000;
JSON
{
  "hex": "#306c19",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 103.373,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.13045,
    "h": 138.6
  },
  "luminance": 0.11424
}

Semantic roles & 50–950 ramp

primary
#306C19
secondary
#863FA1
accent
#42E5B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306C19

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

Preview Lab → · Contrast checker → · Palette generator →

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