#306815#306815

#306815 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.128 H 137.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#306815
RGBrgb(48, 104, 21)
HSLhsl(100, 66%, 25%)
HSVhsv(100, 80%, 41%)
CMYKcmyk(53.8%, 0%, 79.8%, 59.2%)
CIE-LABlab(38.87, -34.10, 38.37)
CIE-LCHlch(38.87, 51.34, 131.63°)
OKLaboklab(46.17% -0.0944 0.0859)
OKLCHoklch(46.17% 0.128 137.7)
XYZxyz(6.3044, 10.5827, 2.4198)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306815 #4D1568
analogous
#5A6815 #306815 #156824
triadic
#306815 #153068 #681530
tetradic
#306815 #155A68 #4D1568 #682415
square
#306815 #155A68 #4D1568 #682415
split-complementary
#306815 #241568 #68155A
monochromatic
#0C1905 #18350B #306815 #489B1F #5FCE2A

Accessibility & contrast

On white

6.74
#306815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#306815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306815
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306815#FFFFFF#000000##FFFFFF
##3068151.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E04
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#2C6458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #306815;
/* rgb */ color: rgb(48, 104, 21);
/* oklch */ color: oklch(46.2% 0.128 137.7);
Tailwind
colors: {
  custom: {
    50: '#6f9459',
    500: '#306815',
    950: '#000000',
  },
}
SCSS
$custom: #306815;
$custom-light: #6f9459;
$custom-dark: #000000;
JSON
{
  "hex": "#306815",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 100.482,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.12767,
    "h": 137.7
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#306815
secondary
#7E3A9F
accent
#3EE9B2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306815

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

Preview Lab → · Contrast checker → · Palette generator →

#306815 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva