#306B18#306B18

#306B18 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.130 H 138.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#306B18
RGBrgb(48, 107, 24)
HSLhsl(103, 63%, 26%)
HSVhsv(103, 78%, 42%)
CMYKcmyk(55.1%, 0%, 77.6%, 58%)
CIE-LABlab(39.93, -35.14, 38.27)
CIE-LCHlch(39.93, 51.96, 132.56°)
OKLaboklab(47.05% -0.097 0.0862)
OKLCHoklch(47.05% 0.13 138.4)
XYZxyz(6.6412, 11.2092, 2.6776)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306B18 #53186B
analogous
#596B18 #306B18 #186B2A
triadic
#306B18 #18306B #6B1830
tetradic
#306B18 #18596B #53186B #6B2A18
square
#306B18 #18596B #53186B #6B2A18
split-complementary
#306B18 #2A186B #6B1859
monochromatic
#0B1906 #1A390D #306B18 #469D23 #5DCF2E

Accessibility & contrast

On white

6.48
#306B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#306B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306B18
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306B18#FFFFFF#000000##FFFFFF
##306B181.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#2B675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #306b18;
/* rgb */ color: rgb(48, 107, 24);
/* oklch */ color: oklch(47.0% 0.130 138.4);
Tailwind
colors: {
  custom: {
    50: '#6f965b',
    500: '#306b18',
    950: '#000000',
  },
}
SCSS
$custom: #306b18;
$custom-light: #6f965b;
$custom-dark: #000000;
JSON
{
  "hex": "#306b18",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 102.651,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.12977,
    "h": 138.4
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#306B18
secondary
#843EA1
accent
#41E6B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306B18

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

Preview Lab → · Contrast checker → · Palette generator →

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