#306F18#306F18

#306F18 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.135 H 138.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#306F18
RGBrgb(48, 111, 24)
HSLhsl(103, 64%, 26%)
HSVhsv(103, 78%, 44%)
CMYKcmyk(56.8%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.32, -36.79, 39.65)
CIE-LCHlch(41.32, 54.09, 132.86°)
OKLaboklab(48.19% -0.1015 0.0891)
OKLCHoklch(48.19% 0.135 138.7)
XYZxyz(7.0680, 12.0626, 2.8198)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F18 #57186F
analogous
#5C6F18 #306F18 #186F2C
triadic
#306F18 #18306F #6F1830
tetradic
#306F18 #185C6F #57186F #6F2C18
square
#306F18 #185C6F #57186F #6F2C18
split-complementary
#306F18 #2C186F #6F185C
monochromatic
#0B1905 #1A3D0D #306F18 #46A123 #5CD22F

Accessibility & contrast

On white

6.15
#306F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#306F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F18
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F18#FFFFFF#000000##FFFFFF
##306F181.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6B5F21
Tritanopia (blue-blind)
#2A6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f18;
/* rgb */ color: rgb(48, 111, 24);
/* oklch */ color: oklch(48.2% 0.135 138.7);
Tailwind
colors: {
  custom: {
    50: '#70995c',
    500: '#306f18',
    950: '#000000',
  },
}
SCSS
$custom: #306f18;
$custom-light: #70995c;
$custom-dark: #000000;
JSON
{
  "hex": "#306f18",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 103.448,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4819,
    "c": 0.135,
    "h": 138.7
  },
  "luminance": 0.12063
}

Semantic roles & 50–950 ramp

primary
#306F18
secondary
#883EA5
accent
#40E7B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F18

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

Preview Lab → · Contrast checker → · Palette generator →

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