#306A18#306A18

#306A18 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.8% C 0.128 H 138.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#306A18
RGBrgb(48, 106, 24)
HSLhsl(102, 63%, 25%)
HSVhsv(102, 77%, 42%)
CMYKcmyk(54.7%, 0%, 77.4%, 58.4%)
CIE-LABlab(39.58, -34.72, 37.92)
CIE-LCHlch(39.58, 51.42, 132.48°)
OKLaboklab(46.76% -0.0959 0.0855)
OKLCHoklch(46.76% 0.128 138.3)
XYZxyz(6.5376, 11.0019, 2.6431)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A18 #52186A
analogous
#596A18 #306A18 #186A29
triadic
#306A18 #18306A #6A1830
tetradic
#306A18 #18596A #52186A #6A2918
square
#306A18 #18596A #52186A #6A2918
split-complementary
#306A18 #29186A #6A1859
monochromatic
#0B1906 #19380D #306A18 #479C23 #5DCE2F

Accessibility & contrast

On white

6.56
#306A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306A18
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A18#FFFFFF#000000##FFFFFF
##306A181.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#2B665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306a18;
/* rgb */ color: rgb(48, 106, 24);
/* oklch */ color: oklch(46.8% 0.128 138.3);
Tailwind
colors: {
  custom: {
    50: '#6f955b',
    500: '#306a18',
    950: '#000000',
  },
}
SCSS
$custom: #306a18;
$custom-light: #6f955b;
$custom-dark: #000000;
JSON
{
  "hex": "#306a18",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 102.439,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46763,
    "c": 0.12844,
    "h": 138.3
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#306A18
secondary
#833EA0
accent
#42E6B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306A18

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

Preview Lab → · Contrast checker → · Palette generator →

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