#308D14#308D14

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

Color values

HEX#308D14
RGBrgb(48, 141, 20)
HSLhsl(106, 75%, 32%)
HSVhsv(106, 86%, 55%)
CMYKcmyk(66%, 0%, 85.8%, 44.7%)
CIE-LABlab(51.53, -48.37, 50.52)
CIE-LCHlch(51.53, 69.94, 133.76°)
OKLaboklab(56.63% -0.1328 0.1112)
OKLCHoklch(56.63% 0.173 140.1)
XYZxyz(10.8696, 19.7276, 3.8967)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D14 #71148D
analogous
#6D8D14 #308D14 #148D35
triadic
#308D14 #14308D #8D1430
tetradic
#308D14 #146D8D #71148D #8D3514
square
#308D14 #146D8D #71148D #8D3514
split-complementary
#308D14 #35148D #8D146D
monochromatic
#0C2205 #1E570C #308D14 #42C31C #60E339

Accessibility & contrast

On white

4.25
#308D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308D14#FFFFFF#000000##000000
##308D141.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308d14;
/* rgb */ color: rgb(48, 141, 20);
/* oklch */ color: oklch(56.6% 0.173 140.1);
Tailwind
colors: {
  custom: {
    50: '#76af5f',
    500: '#308d14',
    950: '#000000',
  },
}
SCSS
$custom: #308d14;
$custom-light: #76af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#308d14",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 106.116,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56627,
    "c": 0.17322,
    "h": 140.1
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#308D14
secondary
#A23CC1
accent
#36F2C6
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #308D14

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

Preview Lab → · Contrast checker → · Palette generator →

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