#308D16#308D16

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

Color values

HEX#308D16
RGBrgb(48, 141, 22)
HSLhsl(107, 73%, 32%)
HSVhsv(107, 84%, 55%)
CMYKcmyk(66%, 0%, 84.4%, 44.7%)
CIE-LABlab(51.54, -48.27, 49.99)
CIE-LCHlch(51.54, 69.49, 134.00°)
OKLaboklab(56.64% -0.1325 0.1104)
OKLCHoklch(56.64% 0.172 140.2)
XYZxyz(10.8881, 19.7350, 3.9943)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D16 #73168D
analogous
#6C8D16 #308D16 #168D38
triadic
#308D16 #16308D #8D1630
tetradic
#308D16 #166C8D #73168D #8D3816
square
#308D16 #166C8D #73168D #8D3816
split-complementary
#308D16 #38168D #8D166C
monochromatic
#0C2305 #1E580E #308D16 #42C21E #61E13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308D16#FFFFFF#000000##000000
##308D161.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)
#867825
Tritanopia (blue-blind)
#218878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d16;
/* rgb */ color: rgb(48, 141, 22);
/* oklch */ color: oklch(56.6% 0.172 140.2);
Tailwind
colors: {
  custom: {
    50: '#76af5f',
    500: '#308d16',
    950: '#000000',
  },
}
SCSS
$custom: #308d16;
$custom-light: #76af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#308d16",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 106.891,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56637,
    "c": 0.17242,
    "h": 140.2
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#308D16
secondary
#A43EC1
accent
#38F0C8
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #308D16

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

Preview Lab → · Contrast checker → · Palette generator →

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