#308D18#308D18

#308D18 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.172 H 140.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#308D18
RGBrgb(48, 141, 24)
HSLhsl(108, 71%, 32%)
HSVhsv(108, 83%, 55%)
CMYKcmyk(66%, 0%, 83%, 44.7%)
CIE-LABlab(51.55, -48.16, 49.42)
CIE-LCHlch(51.55, 69.01, 134.26°)
OKLaboklab(56.65% -0.1321 0.1095)
OKLCHoklch(56.65% 0.172 140.3)
XYZxyz(10.9081, 19.7430, 4.0999)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D18 #75188D
analogous
#6B8D18 #308D18 #188D3A
triadic
#308D18 #18308D #8D1830
tetradic
#308D18 #186B8D #75188D #8D3A18
square
#308D18 #186B8D #75188D #8D3A18
split-complementary
#308D18 #3A188D #8D186B
monochromatic
#0C2406 #1E590F #308D18 #42C121 #61DF41

Accessibility & contrast

On white

4.24
#308D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#308D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D18
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D18#FFFFFF#000000##000000
##308D181.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#218878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d18;
/* rgb */ color: rgb(48, 141, 24);
/* oklch */ color: oklch(56.6% 0.172 140.3);
Tailwind
colors: {
  custom: {
    50: '#76af60',
    500: '#308d18',
    950: '#000000',
  },
}
SCSS
$custom: #308d18;
$custom-light: #76af60;
$custom-dark: #000000;
JSON
{
  "hex": "#308d18",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 107.692,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56647,
    "c": 0.17154,
    "h": 140.3
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#308D18
secondary
#A542BF
accent
#3AEEC9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #308D18

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

Preview Lab → · Contrast checker → · Palette generator →

#308D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva