#308016#308016

#308016 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.157 H 139.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308016
RGBrgb(48, 128, 22)
HSLhsl(105, 71%, 29%)
HSVhsv(105, 83%, 50%)
CMYKcmyk(62.5%, 0%, 82.8%, 49.8%)
CIE-LABlab(47.14, -43.55, 45.92)
CIE-LCHlch(47.14, 63.29, 133.48°)
OKLaboklab(52.99% -0.1198 0.1019)
OKLCHoklch(52.99% 0.157 139.6)
XYZxyz(9.0825, 16.1238, 3.3925)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308016 #661680
analogous
#658016 #308016 #168031
triadic
#308016 #163080 #801630
tetradic
#308016 #166580 #661680 #803116
square
#308016 #166580 #661680 #803116
split-complementary
#308016 #311680 #801665
monochromatic
#0A1A04 #1C4C0D #308016 #44B41F #5DDC34

Accessibility & contrast

On white

4.97
#308016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#308016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308016
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308016#FFFFFF#000000##FFFFFF
##3080161.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#267B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #308016;
/* rgb */ color: rgb(48, 128, 22);
/* oklch */ color: oklch(53.0% 0.157 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a65d',
    500: '#308016',
    950: '#000000',
  },
}
SCSS
$custom: #308016;
$custom-light: #73a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#308016",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 105.283,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.15722,
    "h": 139.6
  },
  "luminance": 0.16125
}

Semantic roles & 50–950 ramp

primary
#308016
secondary
#973DB5
accent
#3AEDC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #308016

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

Preview Lab → · Contrast checker → · Palette generator →

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