#306D15#306D15

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

Color values

HEX#306D15
RGBrgb(48, 109, 21)
HSLhsl(102, 68%, 25%)
HSVhsv(102, 81%, 43%)
CMYKcmyk(56%, 0%, 80.7%, 57.3%)
CIE-LABlab(40.60, -36.19, 40.06)
CIE-LCHlch(40.60, 53.98, 132.09°)
OKLaboklab(47.6% -0.1 0.0894)
OKLCHoklch(47.6% 0.134 138.2)
XYZxyz(6.8227, 11.6193, 2.5925)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D15 #52156D
analogous
#5C6D15 #306D15 #156D26
triadic
#306D15 #15306D #6D1530
tetradic
#306D15 #155C6D #52156D #6D2615
square
#306D15 #155C6D #52156D #6D2615
split-complementary
#306D15 #26156D #6D155C
monochromatic
#0B1A05 #193A0B #306D15 #47A01F #5DD429

Accessibility & contrast

On white

6.32
#306D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#306D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D15
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D15#FFFFFF#000000##FFFFFF
##306D151.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716301
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#2B695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d15;
/* rgb */ color: rgb(48, 109, 21);
/* oklch */ color: oklch(47.6% 0.134 138.2);
Tailwind
colors: {
  custom: {
    50: '#70975a',
    500: '#306d15',
    950: '#000000',
  },
}
SCSS
$custom: #306d15;
$custom-light: #70975a;
$custom-dark: #000000;
JSON
{
  "hex": "#306d15",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 101.591,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.13419,
    "h": 138.2
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#306D15
secondary
#833AA3
accent
#3DEBB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306D15

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

Preview Lab → · Contrast checker → · Palette generator →

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