#308E20#308E20

#308E20 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.169 H 141.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#308E20
RGBrgb(48, 142, 32)
HSLhsl(111, 63%, 34%)
HSVhsv(111, 77%, 56%)
CMYKcmyk(66.2%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.92, -48.00, 47.18)
CIE-LCHlch(51.92, 67.31, 135.49°)
OKLaboklab(56.98% -0.1312 0.106)
OKLCHoklch(56.98% 0.169 141.1)
XYZxyz(11.1521, 20.0776, 4.6539)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E20 #7E208E
analogous
#678E20 #308E20 #208E47
triadic
#308E20 #20308E #8E2030
tetradic
#308E20 #20678E #7E208E #8E4720
square
#308E20 #20678E #7E208E #8E4720
split-complementary
#308E20 #47208E #8E2067
monochromatic
#0E2A09 #1F5C15 #308E20 #41C02B #64D851

Accessibility & contrast

On white

4.19
#308E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#308E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E20
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E20#FFFFFF#000000##000000
##308E201.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928007
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#1F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e20;
/* rgb */ color: rgb(48, 142, 32);
/* oklch */ color: oklch(57.0% 0.169 141.1);
Tailwind
colors: {
  custom: {
    50: '#76b064',
    500: '#308e20',
    950: '#000000',
  },
}
SCSS
$custom: #308e20;
$custom-light: #76b064;
$custom-dark: #000000;
JSON
{
  "hex": "#308e20",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 111.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.16866,
    "h": 141.1
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#308E20
secondary
#AB4FBB
accent
#42E6CE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308E20

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

Preview Lab → · Contrast checker → · Palette generator →

#308E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva