#308516#308516

#308516 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.163 H 139.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#308516
RGBrgb(48, 133, 22)
HSLhsl(106, 72%, 30%)
HSVhsv(106, 83%, 52%)
CMYKcmyk(63.9%, 0%, 83.5%, 47.8%)
CIE-LABlab(48.84, -45.40, 47.50)
CIE-LCHlch(48.84, 65.71, 133.70°)
OKLaboklab(54.4% -0.1247 0.1052)
OKLCHoklch(54.4% 0.163 139.9)
XYZxyz(9.7508, 17.4604, 3.6152)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308516 #6B1685
analogous
#678516 #308516 #168533
triadic
#308516 #163085 #851630
tetradic
#308516 #166785 #6B1685 #853316
square
#308516 #166785 #6B1685 #853316
split-complementary
#308516 #331685 #851667
monochromatic
#0A1C05 #1D500D #308516 #43BA1F #5EDE37

Accessibility & contrast

On white

4.67
#308516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#308516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308516
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308516#FFFFFF#000000##FFFFFF
##3085161.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7F7124
Tritanopia (blue-blind)
#248071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308516;
/* rgb */ color: rgb(48, 133, 22);
/* oklch */ color: oklch(54.4% 0.163 139.9);
Tailwind
colors: {
  custom: {
    50: '#74a95e',
    500: '#308516',
    950: '#000000',
  },
}
SCSS
$custom: #308516;
$custom-light: #74a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#308516",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 105.946,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.544,
    "c": 0.16314,
    "h": 139.9
  },
  "luminance": 0.17461
}

Semantic roles & 50–950 ramp

primary
#308516
secondary
#9C3EB9
accent
#39EEC4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308516

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

Preview Lab → · Contrast checker → · Palette generator →

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