#308116#308116

#308116 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.158 H 139.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#308116
RGBrgb(48, 129, 22)
HSLhsl(105, 71%, 30%)
HSVhsv(105, 83%, 51%)
CMYKcmyk(62.8%, 0%, 82.9%, 49.4%)
CIE-LABlab(47.48, -43.92, 46.24)
CIE-LCHlch(47.48, 63.78, 133.53°)
OKLaboklab(53.28% -0.1208 0.1025)
OKLCHoklch(53.28% 0.158 139.7)
XYZxyz(9.2136, 16.3860, 3.4362)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308116 #671681
analogous
#658116 #308116 #168132
triadic
#308116 #163081 #811630
tetradic
#308116 #166581 #671681 #813216
square
#308116 #166581 #671681 #813216
split-complementary
#308116 #321681 #811665
monochromatic
#0A1A04 #1D4D0D #308116 #43B51F #5EDD35

Accessibility & contrast

On white

4.91
#308116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#308116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308116
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308116#FFFFFF#000000##FFFFFF
##3081161.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#257C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308116;
/* rgb */ color: rgb(48, 129, 22);
/* oklch */ color: oklch(53.3% 0.158 139.7);
Tailwind
colors: {
  custom: {
    50: '#73a65d',
    500: '#308116',
    950: '#000000',
  },
}
SCSS
$custom: #308116;
$custom-light: #73a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#308116",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 105.421,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.15842,
    "h": 139.7
  },
  "luminance": 0.16387
}

Semantic roles & 50–950 ramp

primary
#308116
secondary
#983DB6
accent
#3AEEC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #308116

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

Preview Lab → · Contrast checker → · Palette generator →

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