#308019#308019

#308019 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.156 H 139.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308019
RGBrgb(48, 128, 25)
HSLhsl(107, 67%, 30%)
HSVhsv(107, 80%, 50%)
CMYKcmyk(62.5%, 0%, 80.5%, 49.8%)
CIE-LABlab(47.15, -43.36, 44.97)
CIE-LCHlch(47.15, 62.47, 133.96°)
OKLaboklab(53.01% -0.1191 0.1003)
OKLCHoklch(53.01% 0.156 139.9)
XYZxyz(9.1132, 16.1361, 3.5538)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308019 #691980
analogous
#638019 #308019 #198036
triadic
#308019 #193080 #801930
tetradic
#308019 #196380 #691980 #803619
square
#308019 #196380 #691980 #803619
split-complementary
#308019 #361980 #801963
monochromatic
#0A1A05 #1D4D0F #308019 #43B323 #5ED93B

Accessibility & contrast

On white

4.97
#308019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#308019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308019
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308019#FFFFFF#000000##FFFFFF
##3080191.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#257C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #308019;
/* rgb */ color: rgb(48, 128, 25);
/* oklch */ color: oklch(53.0% 0.156 139.9);
Tailwind
colors: {
  custom: {
    50: '#73a65f',
    500: '#308019',
    950: '#000000',
  },
}
SCSS
$custom: #308019;
$custom-light: #73a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#308019",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 106.602,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.15571,
    "h": 139.9
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#308019
secondary
#9A41B4
accent
#3EEAC4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #308019

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

Preview Lab → · Contrast checker → · Palette generator →

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