#306D19#306D19

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

Color values

HEX#306D19
RGBrgb(48, 109, 25)
HSLhsl(104, 63%, 26%)
HSVhsv(104, 77%, 43%)
CMYKcmyk(56%, 0%, 77.1%, 57.3%)
CIE-LABlab(40.63, -35.89, 38.58)
CIE-LCHlch(40.63, 52.69, 132.93°)
OKLaboklab(47.63% -0.099 0.087)
OKLCHoklch(47.63% 0.132 138.7)
XYZxyz(6.8628, 11.6353, 2.8037)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D19 #56196D
analogous
#5A6D19 #306D19 #196D2C
triadic
#306D19 #19306D #6D1930
tetradic
#306D19 #195A6D #56196D #6D2C19
square
#306D19 #195A6D #56196D #6D2C19
split-complementary
#306D19 #2C196D #6D195A
monochromatic
#0B1906 #1A3B0E #306D19 #469F24 #5CD031

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306D19#FFFFFF#000000##FFFFFF
##306D191.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)
#706309
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#2A695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d19;
/* rgb */ color: rgb(48, 109, 25);
/* oklch */ color: oklch(47.6% 0.132 138.7);
Tailwind
colors: {
  custom: {
    50: '#70975c',
    500: '#306d19',
    950: '#000000',
  },
}
SCSS
$custom: #306d19;
$custom-light: #70975c;
$custom-dark: #000000;
JSON
{
  "hex": "#306d19",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 103.571,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47628,
    "c": 0.13176,
    "h": 138.7
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#306D19
secondary
#873FA2
accent
#42E6B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306D19

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

Preview Lab → · Contrast checker → · Palette generator →

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