#306E19#306E19

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

Color values

HEX#306E19
RGBrgb(48, 110, 25)
HSLhsl(104, 63%, 26%)
HSVhsv(104, 77%, 43%)
CMYKcmyk(56.4%, 0%, 77.3%, 56.9%)
CIE-LABlab(40.98, -36.30, 38.93)
CIE-LCHlch(40.98, 53.23, 133.00°)
OKLaboklab(47.91% -0.1001 0.0877)
OKLCHoklch(47.91% 0.133 138.8)
XYZxyz(6.9701, 11.8499, 2.8395)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E19 #57196E
analogous
#5B6E19 #306E19 #196E2D
triadic
#306E19 #19306E #6E1930
tetradic
#306E19 #195B6E #57196E #6E2D19
square
#306E19 #195B6E #57196E #6E2D19
split-complementary
#306E19 #2D196E #6E195B
monochromatic
#0B1906 #1A3C0E #306E19 #46A024 #5CD031

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306E19#FFFFFF#000000##FFFFFF
##306E191.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)
#716409
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#2A6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306e19;
/* rgb */ color: rgb(48, 110, 25);
/* oklch */ color: oklch(47.9% 0.133 138.8);
Tailwind
colors: {
  custom: {
    50: '#70985c',
    500: '#306e19',
    950: '#000000',
  },
}
SCSS
$custom: #306e19;
$custom-light: #70985c;
$custom-dark: #000000;
JSON
{
  "hex": "#306e19",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 25
  },
  "hsl": {
    "h": 103.765,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47913,
    "c": 0.13308,
    "h": 138.8
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#306E19
secondary
#883FA3
accent
#42E6BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306E19

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

Preview Lab → · Contrast checker → · Palette generator →

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