#307816#307816

#307816 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.148 H 139.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#307816
RGBrgb(48, 120, 22)
HSLhsl(104, 69%, 28%)
HSVhsv(104, 82%, 47%)
CMYKcmyk(60%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.40, -40.51, 43.35)
CIE-LCHlch(44.40, 59.33, 133.06°)
OKLaboklab(50.73% -0.1116 0.0965)
OKLCHoklch(50.73% 0.148 139.2)
XYZxyz(8.0799, 14.1185, 3.0583)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307816 #5E1678
analogous
#617816 #307816 #16782D
triadic
#307816 #163078 #781630
tetradic
#307816 #166178 #5E1678 #782D16
square
#307816 #166178 #5E1678 #782D16
split-complementary
#307816 #2D1678 #781661
monochromatic
#0A1A05 #1B440D #307816 #45AC1F #5CD92F

Accessibility & contrast

On white

5.49
#307816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#307816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307816
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307816#FFFFFF#000000##FFFFFF
##3078161.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#287466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #307816;
/* rgb */ color: rgb(48, 120, 22);
/* oklch */ color: oklch(50.7% 0.148 139.2);
Tailwind
colors: {
  custom: {
    50: '#72a05c',
    500: '#307816',
    950: '#000000',
  },
}
SCSS
$custom: #307816;
$custom-light: #72a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#307816",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 104.082,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50734,
    "c": 0.14751,
    "h": 139.2
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#307816
secondary
#8F3CAD
accent
#3CECBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #307816

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

Preview Lab → · Contrast checker → · Palette generator →

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