#306118#306118

#306118 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.2% C 0.116 H 137.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#306118
RGBrgb(48, 97, 24)
HSLhsl(100, 60%, 24%)
HSVhsv(100, 75%, 38%)
CMYKcmyk(50.5%, 0%, 75.3%, 62%)
CIE-LABlab(36.45, -30.84, 34.74)
CIE-LCHlch(36.45, 46.46, 131.59°)
OKLaboklab(44.18% -0.0854 0.0788)
OKLCHoklch(44.18% 0.116 137.3)
XYZxyz(5.6583, 9.2433, 2.3500)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306118 #491861
analogous
#546118 #306118 #186124
triadic
#306118 #183061 #611830
tetradic
#306118 #185461 #491861 #612418
square
#306118 #185461 #491861 #612418
split-complementary
#306118 #241861 #611854
monochromatic
#0C1906 #18300C #306118 #489224 #61C330

Accessibility & contrast

On white

7.37
#306118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#306118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306118
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306118#FFFFFF#000000##FFFFFF
##3061181.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5E541F
Tritanopia (blue-blind)
#2D5D53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306118;
/* rgb */ color: rgb(48, 97, 24);
/* oklch */ color: oklch(44.2% 0.116 137.3);
Tailwind
colors: {
  custom: {
    50: '#6e8e5a',
    500: '#306118',
    950: '#000000',
  },
}
SCSS
$custom: #306118;
$custom-light: #6e8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#306118",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 100.274,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44184,
    "c": 0.1162,
    "h": 137.3
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#306118
secondary
#7A3D97
accent
#44E3AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #306118

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

Preview Lab → · Contrast checker → · Palette generator →

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