#306E18#306E18

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

Color values

HEX#306E18
RGBrgb(48, 110, 24)
HSLhsl(103, 64%, 26%)
HSVhsv(103, 78%, 43%)
CMYKcmyk(56.4%, 0%, 78.2%, 56.9%)
CIE-LABlab(40.97, -36.38, 39.31)
CIE-LCHlch(40.97, 53.56, 132.79°)
OKLaboklab(47.91% -0.1004 0.0883)
OKLCHoklch(47.91% 0.134 138.6)
XYZxyz(6.9595, 11.8456, 2.7837)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E18 #56186E
analogous
#5B6E18 #306E18 #186E2B
triadic
#306E18 #18306E #6E1830
tetradic
#306E18 #185B6E #56186E #6E2B18
square
#306E18 #185B6E #56186E #6E2B18
split-complementary
#306E18 #2B186E #6E185B
monochromatic
#0B1905 #1A3C0D #306E18 #46A023 #5CD22F

Accessibility & contrast

On white

6.23
#306E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306E18
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E18#FFFFFF#000000##FFFFFF
##306E181.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726407
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#2A6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306e18;
/* rgb */ color: rgb(48, 110, 24);
/* oklch */ color: oklch(47.9% 0.134 138.6);
Tailwind
colors: {
  custom: {
    50: '#70985c',
    500: '#306e18',
    950: '#000000',
  },
}
SCSS
$custom: #306e18;
$custom-light: #70985c;
$custom-dark: #000000;
JSON
{
  "hex": "#306e18",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 103.256,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.13371,
    "h": 138.6
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#306E18
secondary
#873EA4
accent
#41E7B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306E18

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

Preview Lab → · Contrast checker → · Palette generator →

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