#306A15#306A15

#306A15 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.130 H 137.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#306A15
RGBrgb(48, 106, 21)
HSLhsl(101, 67%, 25%)
HSVhsv(101, 80%, 42%)
CMYKcmyk(54.7%, 0%, 80.2%, 58.4%)
CIE-LABlab(39.56, -34.94, 39.05)
CIE-LCHlch(39.56, 52.40, 131.83°)
OKLaboklab(46.74% -0.0967 0.0873)
OKLCHoklch(46.74% 0.13 137.9)
XYZxyz(6.5081, 10.9901, 2.4877)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A15 #4F156A
analogous
#5B6A15 #306A15 #156A24
triadic
#306A15 #15306A #6A1530
tetradic
#306A15 #155B6A #4F156A #6A2415
square
#306A15 #155B6A #4F156A #6A2415
split-complementary
#306A15 #24156A #6A155B
monochromatic
#0C1A05 #19370B #306A15 #479D1F #5ED029

Accessibility & contrast

On white

6.57
#306A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#306A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A15
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A15#FFFFFF#000000##FFFFFF
##306A151.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6003
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#2C665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306a15;
/* rgb */ color: rgb(48, 106, 21);
/* oklch */ color: oklch(46.7% 0.130 137.9);
Tailwind
colors: {
  custom: {
    50: '#6f9559',
    500: '#306a15',
    950: '#000000',
  },
}
SCSS
$custom: #306a15;
$custom-light: #6f9559;
$custom-dark: #000000;
JSON
{
  "hex": "#306a15",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 100.941,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4674,
    "c": 0.1303,
    "h": 137.9
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#306A15
secondary
#803AA1
accent
#3EEAB3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306A15

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

Preview Lab → · Contrast checker → · Palette generator →

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