#308A16#308A16

#308A16 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.169 H 140.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#308A16
RGBrgb(48, 138, 22)
HSLhsl(107, 73%, 31%)
HSVhsv(107, 84%, 54%)
CMYKcmyk(65.2%, 0%, 84.1%, 45.9%)
CIE-LABlab(50.53, -47.20, 49.06)
CIE-LCHlch(50.53, 68.08, 133.89°)
OKLaboklab(55.8% -0.1296 0.1084)
OKLCHoklch(55.8% 0.169 140.1)
XYZxyz(10.4517, 18.8622, 3.8489)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A16 #70168A
analogous
#6A8A16 #308A16 #168A36
triadic
#308A16 #16308A #8A1630
tetradic
#308A16 #166A8A #70168A #8A3616
square
#308A16 #166A8A #70168A #8A3616
split-complementary
#308A16 #36168A #8A166A
monochromatic
#0B2005 #1E550E #308A16 #42BF1E #60E03B

Accessibility & contrast

On white

4.40
#308A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#308A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A16
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A16#FFFFFF#000000##000000
##308A161.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#228575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308a16;
/* rgb */ color: rgb(48, 138, 22);
/* oklch */ color: oklch(55.8% 0.169 140.1);
Tailwind
colors: {
  custom: {
    50: '#75ad5f',
    500: '#308a16',
    950: '#000000',
  },
}
SCSS
$custom: #308a16;
$custom-light: #75ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#308a16",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 106.552,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.558,
    "c": 0.16897,
    "h": 140.1
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#308A16
secondary
#A13EBE
accent
#39EFC6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308A16

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

Preview Lab → · Contrast checker → · Palette generator →

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