#306C15#306C15

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

Color values

HEX#306C15
RGBrgb(48, 108, 21)
HSLhsl(101, 67%, 25%)
HSVhsv(101, 81%, 42%)
CMYKcmyk(55.6%, 0%, 80.6%, 57.6%)
CIE-LABlab(40.26, -35.77, 39.72)
CIE-LCHlch(40.26, 53.46, 132.01°)
OKLaboklab(47.31% -0.0989 0.0887)
OKLCHoklch(47.31% 0.133 138.1)
XYZxyz(6.7166, 11.4071, 2.5572)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C15 #51156C
analogous
#5C6C15 #306C15 #156C25
triadic
#306C15 #15306C #6C1530
tetradic
#306C15 #155C6C #51156C #6C2515
square
#306C15 #155C6C #51156C #6C2515
split-complementary
#306C15 #25156C #6C155C
monochromatic
#0B1A05 #19390B #306C15 #479F1F #5ED229

Accessibility & contrast

On white

6.40
#306C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306C15
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C15#FFFFFF#000000##FFFFFF
##306C151.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706202
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#2B685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c15;
/* rgb */ color: rgb(48, 108, 21);
/* oklch */ color: oklch(47.3% 0.133 138.1);
Tailwind
colors: {
  custom: {
    50: '#70975a',
    500: '#306c15',
    950: '#000000',
  },
}
SCSS
$custom: #306c15;
$custom-light: #70975a;
$custom-dark: #000000;
JSON
{
  "hex": "#306c15",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 101.379,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.1329,
    "h": 138.1
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#306C15
secondary
#823AA3
accent
#3DEAB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306C15

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

Preview Lab → · Contrast checker → · Palette generator →

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