#307916#307916

#307916 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.149 H 139.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#307916
RGBrgb(48, 121, 22)
HSLhsl(104, 69%, 28%)
HSVhsv(104, 82%, 47%)
CMYKcmyk(60.3%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.75, -40.89, 43.67)
CIE-LCHlch(44.75, 59.83, 133.12°)
OKLaboklab(51.02% -0.1126 0.0972)
OKLCHoklch(51.02% 0.149 139.2)
XYZxyz(8.2008, 14.3603, 3.0986)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307916 #5F1679
analogous
#627916 #307916 #16792D
triadic
#307916 #163079 #791630
tetradic
#307916 #166279 #5F1679 #792D16
square
#307916 #166279 #5F1679 #792D16
split-complementary
#307916 #2D1679 #791662
monochromatic
#0A1A05 #1B450D #307916 #45AD1F #5DD930

Accessibility & contrast

On white

5.42
#307916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#307916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307916
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307916#FFFFFF#000000##FFFFFF
##3079161.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#287567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #307916;
/* rgb */ color: rgb(48, 121, 22);
/* oklch */ color: oklch(51.0% 0.149 139.2);
Tailwind
colors: {
  custom: {
    50: '#72a05c',
    500: '#307916',
    950: '#000000',
  },
}
SCSS
$custom: #307916;
$custom-light: #72a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#307916",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 104.242,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51017,
    "c": 0.14874,
    "h": 139.2
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#307916
secondary
#903DAE
accent
#3CECBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #307916

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

Preview Lab → · Contrast checker → · Palette generator →

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