#307819#307819

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

Color values

HEX#307819
RGBrgb(48, 120, 25)
HSLhsl(105, 66%, 28%)
HSVhsv(105, 79%, 47%)
CMYKcmyk(60%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.42, -40.30, 42.33)
CIE-LCHlch(44.42, 58.45, 133.60°)
OKLaboklab(50.75% -0.1109 0.0948)
OKLCHoklch(50.75% 0.146 139.5)
XYZxyz(8.1105, 14.1308, 3.2196)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307819 #611978
analogous
#5F7819 #307819 #197831
triadic
#307819 #193078 #781930
tetradic
#307819 #195F78 #611978 #783119
square
#307819 #195F78 #611978 #783119
split-complementary
#307819 #311978 #78195F
monochromatic
#0A1905 #1C450E #307819 #44AB24 #5DD536

Accessibility & contrast

On white

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

On black

3.83
#307819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307819#FFFFFF#000000##FFFFFF
##3078191.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307819;
/* rgb */ color: rgb(48, 120, 25);
/* oklch */ color: oklch(50.8% 0.146 139.5);
Tailwind
colors: {
  custom: {
    50: '#72a05d',
    500: '#307819',
    950: '#000000',
  },
}
SCSS
$custom: #307819;
$custom-light: #72a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#307819",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 105.474,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.14587,
    "h": 139.5
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#307819
secondary
#9240AD
accent
#3FE8C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #307819

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

Preview Lab → · Contrast checker → · Palette generator →

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