#308018#308018

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

Color values

HEX#308018
RGBrgb(48, 128, 24)
HSLhsl(106, 68%, 30%)
HSVhsv(106, 81%, 50%)
CMYKcmyk(62.5%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.15, -43.43, 45.29)
CIE-LCHlch(47.15, 62.75, 133.79°)
OKLaboklab(53.01% -0.1193 0.1008)
OKLCHoklch(53.01% 0.156 139.8)
XYZxyz(9.1026, 16.1318, 3.4980)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308018 #681880
analogous
#648018 #308018 #188034
triadic
#308018 #183080 #801830
tetradic
#308018 #186480 #681880 #803418
square
#308018 #186480 #681880 #803418
split-complementary
#308018 #341880 #801864
monochromatic
#0A1A05 #1D4C0E #308018 #43B422 #5EDA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308018#FFFFFF#000000##FFFFFF
##3080181.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)
#7A6D24
Tritanopia (blue-blind)
#257C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #308018;
/* rgb */ color: rgb(48, 128, 24);
/* oklch */ color: oklch(53.0% 0.156 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a65e',
    500: '#308018',
    950: '#000000',
  },
}
SCSS
$custom: #308018;
$custom-light: #73a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#308018",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 106.154,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.15623,
    "h": 139.8
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#308018
secondary
#9940B4
accent
#3DEBC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #308018

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

Preview Lab → · Contrast checker → · Palette generator →

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