#308620#308620

#308620 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.159 H 140.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#308620
RGBrgb(48, 134, 32)
HSLhsl(111, 61%, 33%)
HSVhsv(111, 76%, 53%)
CMYKcmyk(64.2%, 0%, 76.1%, 47.5%)
CIE-LABlab(49.23, -45.09, 44.51)
CIE-LCHlch(49.23, 63.36, 135.37°)
OKLaboklab(54.75% -0.1234 0.1004)
OKLCHoklch(54.75% 0.159 140.9)
XYZxyz(10.0042, 17.7819, 4.2713)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308620 #762086
analogous
#638620 #308620 #208643
triadic
#308620 #203086 #862030
tetradic
#308620 #206386 #762086 #864320
square
#308620 #206386 #762086 #864320
split-complementary
#308620 #432086 #862063
monochromatic
#0D2308 #1E5514 #308620 #42B72C #61D44C

Accessibility & contrast

On white

4.61
#308620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#308620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308620
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308620#FFFFFF#000000##FFFFFF
##3086201.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A790C
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#228272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308620;
/* rgb */ color: rgb(48, 134, 32);
/* oklch */ color: oklch(54.7% 0.159 140.9);
Tailwind
colors: {
  custom: {
    50: '#74aa63',
    500: '#308620',
    950: '#000000',
  },
}
SCSS
$custom: #308620;
$custom-light: #74aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#308620",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 110.588,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.15905,
    "h": 140.9
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#308620
secondary
#A64BB7
accent
#43E5CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308620

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

Preview Lab → · Contrast checker → · Palette generator →

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