#306F19#306F19

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

Color values

HEX#306F19
RGBrgb(48, 111, 25)
HSLhsl(104, 63%, 27%)
HSVhsv(104, 77%, 44%)
CMYKcmyk(56.8%, 0%, 77.5%, 56.5%)
CIE-LABlab(41.32, -36.71, 39.27)
CIE-LCHlch(41.32, 53.76, 133.07°)
OKLaboklab(48.2% -0.1012 0.0884)
OKLCHoklch(48.2% 0.134 138.9)
XYZxyz(7.0786, 12.0669, 2.8756)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F19 #58196F
analogous
#5B6F19 #306F19 #196F2D
triadic
#306F19 #19306F #6F1930
tetradic
#306F19 #195B6F #58196F #6F2D19
square
#306F19 #195B6F #58196F #6F2D19
split-complementary
#306F19 #2D196F #6F195B
monochromatic
#0B1906 #1A3D0E #306F19 #46A124 #5CD132

Accessibility & contrast

On white

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

On black

3.41
#306F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##306F19#FFFFFF#000000##FFFFFF
##306F191.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726508
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#2A6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f19;
/* rgb */ color: rgb(48, 111, 25);
/* oklch */ color: oklch(48.2% 0.134 138.9);
Tailwind
colors: {
  custom: {
    50: '#70995c',
    500: '#306f19',
    950: '#000000',
  },
}
SCSS
$custom: #306f19;
$custom-light: #70995c;
$custom-dark: #000000;
JSON
{
  "hex": "#306f19",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 103.953,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.13439,
    "h": 138.9
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#306F19
secondary
#893FA4
accent
#42E6BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F19

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

Preview Lab → · Contrast checker → · Palette generator →

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