#308420#308420

#308420 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.157 H 140.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#308420
RGBrgb(48, 132, 32)
HSLhsl(110, 61%, 32%)
HSVhsv(110, 76%, 52%)
CMYKcmyk(63.6%, 0%, 75.8%, 48.2%)
CIE-LABlab(48.55, -44.35, 43.83)
CIE-LCHlch(48.55, 62.35, 135.34°)
OKLaboklab(54.19% -0.1214 0.099)
OKLCHoklch(54.19% 0.157 140.8)
XYZxyz(9.7304, 17.2343, 4.1800)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308420 #742084
analogous
#628420 #308420 #208442
triadic
#308420 #203084 #842030
tetradic
#308420 #206284 #742084 #844220
square
#308420 #206284 #742084 #844220
split-complementary
#308420 #422084 #842062
monochromatic
#0C2108 #1E5314 #308420 #42B52C #61D34B

Accessibility & contrast

On white

4.72
#308420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#308420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308420
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308420#FFFFFF#000000##FFFFFF
##3084201.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#7D712A
Tritanopia (blue-blind)
#238071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308420;
/* rgb */ color: rgb(48, 132, 32);
/* oklch */ color: oklch(54.2% 0.157 140.8);
Tailwind
colors: {
  custom: {
    50: '#74a963',
    500: '#308420',
    950: '#000000',
  },
}
SCSS
$custom: #308420;
$custom-light: #74a963;
$custom-dark: #000000;
JSON
{
  "hex": "#308420",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 110.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54186,
    "c": 0.15659,
    "h": 140.8
  },
  "luminance": 0.17235
}

Semantic roles & 50–950 ramp

primary
#308420
secondary
#A54AB6
accent
#44E4CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #308420

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

Preview Lab → · Contrast checker → · Palette generator →

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