#308520#308520

#308520 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.158 H 140.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#308520
RGBrgb(48, 133, 32)
HSLhsl(110, 61%, 32%)
HSVhsv(110, 76%, 52%)
CMYKcmyk(63.9%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.89, -44.72, 44.17)
CIE-LCHlch(48.89, 62.86, 135.35°)
OKLaboklab(54.47% -0.1224 0.0997)
OKLCHoklch(54.47% 0.158 140.8)
XYZxyz(9.8667, 17.5068, 4.2254)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308520 #752085
analogous
#638520 #308520 #208543
triadic
#308520 #203085 #852030
tetradic
#308520 #206385 #752085 #854320
square
#308520 #206385 #752085 #854320
split-complementary
#308520 #432085 #852063
monochromatic
#0C2208 #1E5414 #308520 #42B62C #61D44C

Accessibility & contrast

On white

4.67
#308520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#308520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308520
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308520#FFFFFF#000000##FFFFFF
##3085201.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89780C
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#238171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308520;
/* rgb */ color: rgb(48, 133, 32);
/* oklch */ color: oklch(54.5% 0.158 140.8);
Tailwind
colors: {
  custom: {
    50: '#74a963',
    500: '#308520',
    950: '#000000',
  },
}
SCSS
$custom: #308520;
$custom-light: #74a963;
$custom-dark: #000000;
JSON
{
  "hex": "#308520",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 110.495,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.15782,
    "h": 140.8
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#308520
secondary
#A54AB7
accent
#43E4CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #308520

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

Preview Lab → · Contrast checker → · Palette generator →

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