#308316#308316

#308316 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.161 H 139.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#308316
RGBrgb(48, 131, 22)
HSLhsl(106, 71%, 30%)
HSVhsv(106, 83%, 51%)
CMYKcmyk(63.4%, 0%, 83.2%, 48.6%)
CIE-LABlab(48.16, -44.66, 46.87)
CIE-LCHlch(48.16, 64.74, 133.62°)
OKLaboklab(53.84% -0.1228 0.1038)
OKLCHoklch(53.84% 0.161 139.8)
XYZxyz(9.4796, 16.9180, 3.5248)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308316 #691683
analogous
#678316 #308316 #168332
triadic
#308316 #163083 #831630
tetradic
#308316 #166783 #691683 #833216
square
#308316 #166783 #691683 #833216
split-complementary
#308316 #321683 #831667
monochromatic
#0A1A04 #1D4F0D #308316 #43B71F #5EDD36

Accessibility & contrast

On white

4.79
#308316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#308316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308316
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308316#FFFFFF#000000##FFFFFF
##3083161.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#257E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308316;
/* rgb */ color: rgb(48, 131, 22);
/* oklch */ color: oklch(53.8% 0.161 139.8);
Tailwind
colors: {
  custom: {
    50: '#74a85e',
    500: '#308316',
    950: '#000000',
  },
}
SCSS
$custom: #308316;
$custom-light: #74a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#308316",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 105.688,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.53838,
    "c": 0.16079,
    "h": 139.8
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#308316
secondary
#9A3DB7
accent
#3AEEC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308316

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

Preview Lab → · Contrast checker → · Palette generator →

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