#308020#308020

#308020 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.152 H 140.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#308020
RGBrgb(48, 128, 32)
HSLhsl(110, 60%, 31%)
HSVhsv(110, 75%, 50%)
CMYKcmyk(62.5%, 0%, 75%, 49.8%)
CIE-LABlab(47.20, -42.84, 42.46)
CIE-LCHlch(47.20, 60.32, 135.26°)
OKLaboklab(53.06% -0.1173 0.0961)
OKLCHoklch(53.06% 0.152 140.7)
XYZxyz(9.1984, 16.1702, 4.0026)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308020 #702080
analogous
#608020 #308020 #208040
triadic
#308020 #203080 #802030
tetradic
#308020 #206080 #702080 #804020
square
#308020 #206080 #702080 #804020
split-complementary
#308020 #402080 #802060
monochromatic
#0B1E08 #1E4F14 #308020 #42B12C #60D149

Accessibility & contrast

On white

4.96
#308020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #308020
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308020#FFFFFF#000000##FFFFFF
##3080201.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#7A6D2A
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #308020;
/* rgb */ color: rgb(48, 128, 32);
/* oklch */ color: oklch(53.1% 0.152 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a662',
    500: '#308020',
    950: '#000000',
  },
}
SCSS
$custom: #308020;
$custom-light: #73a662;
$custom-dark: #000000;
JSON
{
  "hex": "#308020",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 110,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.15163,
    "h": 140.7
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#308020
secondary
#A149B3
accent
#45E3C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #308020

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

Preview Lab → · Contrast checker → · Palette generator →

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