#308120#308120

#308120 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.153 H 140.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308120
RGBrgb(48, 129, 32)
HSLhsl(110, 60%, 32%)
HSVhsv(110, 75%, 51%)
CMYKcmyk(62.8%, 0%, 75.2%, 49.4%)
CIE-LABlab(47.54, -43.22, 42.80)
CIE-LCHlch(47.54, 60.83, 135.28°)
OKLaboklab(53.34% -0.1183 0.0968)
OKLCHoklch(53.34% 0.153 140.7)
XYZxyz(9.3294, 16.4323, 4.0463)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308120 #712081
analogous
#618120 #308120 #208141
triadic
#308120 #203081 #812030
tetradic
#308120 #206181 #712081 #814120
square
#308120 #206181 #712081 #814120
split-complementary
#308120 #412081 #812061
monochromatic
#0C1F08 #1E5014 #308120 #42B22C #60D249

Accessibility & contrast

On white

4.90
#308120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#308120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308120
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308120#FFFFFF#000000##FFFFFF
##3081201.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#247D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308120;
/* rgb */ color: rgb(48, 129, 32);
/* oklch */ color: oklch(53.3% 0.153 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a662',
    500: '#308120',
    950: '#000000',
  },
}
SCSS
$custom: #308120;
$custom-light: #73a662;
$custom-dark: #000000;
JSON
{
  "hex": "#308120",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 110.103,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53344,
    "c": 0.15288,
    "h": 140.7
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#308120
secondary
#A249B4
accent
#44E3C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #308120

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

Preview Lab → · Contrast checker → · Palette generator →

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