#308416#308416

#308416 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.162 H 139.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#308416
RGBrgb(48, 132, 22)
HSLhsl(106, 71%, 30%)
HSVhsv(106, 83%, 52%)
CMYKcmyk(63.6%, 0%, 83.3%, 48.2%)
CIE-LABlab(48.50, -45.03, 47.19)
CIE-LCHlch(48.50, 65.23, 133.66°)
OKLaboklab(54.12% -0.1237 0.1045)
OKLCHoklch(54.12% 0.162 139.8)
XYZxyz(9.6146, 17.1879, 3.5698)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308416 #6A1684
analogous
#678416 #308416 #168433
triadic
#308416 #163084 #841630
tetradic
#308416 #166784 #6A1684 #843316
square
#308416 #166784 #6A1684 #843316
split-complementary
#308416 #331684 #841667
monochromatic
#0A1B05 #1D500D #308416 #43B81F #5EDE37

Accessibility & contrast

On white

4.73
#308416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#308416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308416
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308416#FFFFFF#000000##FFFFFF
##3084161.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#247F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308416;
/* rgb */ color: rgb(48, 132, 22);
/* oklch */ color: oklch(54.1% 0.162 139.8);
Tailwind
colors: {
  custom: {
    50: '#74a95e',
    500: '#308416',
    950: '#000000',
  },
}
SCSS
$custom: #308416;
$custom-light: #74a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#308416",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 105.818,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54119,
    "c": 0.16197,
    "h": 139.8
  },
  "luminance": 0.17189
}

Semantic roles & 50–950 ramp

primary
#308416
secondary
#9B3DB8
accent
#3AEEC3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308416

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

Preview Lab → · Contrast checker → · Palette generator →

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