#306E15#306E15

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

Color values

HEX#306E15
RGBrgb(48, 110, 21)
HSLhsl(102, 68%, 26%)
HSVhsv(102, 81%, 43%)
CMYKcmyk(56.4%, 0%, 80.9%, 56.9%)
CIE-LABlab(40.95, -36.60, 40.39)
CIE-LCHlch(40.95, 54.50, 132.18°)
OKLaboklab(47.88% -0.1011 0.0901)
OKLCHoklch(47.88% 0.135 138.3)
XYZxyz(6.9300, 11.8338, 2.6283)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E15 #53156E
analogous
#5C6E15 #306E15 #156E26
triadic
#306E15 #15306E #6E1530
tetradic
#306E15 #155C6E #53156E #6E2615
square
#306E15 #155C6E #53156E #6E2615
split-complementary
#306E15 #26156E #6E155C
monochromatic
#0B1A05 #1A3B0B #306E15 #46A11F #5DD529

Accessibility & contrast

On white

6.24
#306E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306E15
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E15#FFFFFF#000000##FFFFFF
##306E151.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#2B6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306e15;
/* rgb */ color: rgb(48, 110, 21);
/* oklch */ color: oklch(47.9% 0.135 138.3);
Tailwind
colors: {
  custom: {
    50: '#70985a',
    500: '#306e15',
    950: '#000000',
  },
}
SCSS
$custom: #306e15;
$custom-light: #70985a;
$custom-dark: #000000;
JSON
{
  "hex": "#306e15",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 101.798,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.13548,
    "h": 138.3
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#306E15
secondary
#843AA4
accent
#3DEBB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306E15

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

Preview Lab → · Contrast checker → · Palette generator →

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