#308A20#308A20

#308A20 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.164 H 141.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#308A20
RGBrgb(48, 138, 32)
HSLhsl(111, 62%, 33%)
HSVhsv(111, 77%, 54%)
CMYKcmyk(65.2%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.58, -46.56, 45.86)
CIE-LCHlch(50.58, 65.35, 135.43°)
OKLaboklab(55.86% -0.1273 0.1032)
OKLCHoklch(55.86% 0.164 141)
XYZxyz(10.5676, 18.9086, 4.4590)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A20 #7A208A
analogous
#658A20 #308A20 #208A45
triadic
#308A20 #20308A #8A2030
tetradic
#308A20 #20658A #7A208A #8A4520
square
#308A20 #20658A #7A208A #8A4520
split-complementary
#308A20 #45208A #8A2065
monochromatic
#0D2709 #1F5814 #308A20 #41BC2C #63D64E

Accessibility & contrast

On white

4.39
#308A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#308A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A20
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A20#FFFFFF#000000##000000
##308A201.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#218576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308a20;
/* rgb */ color: rgb(48, 138, 32);
/* oklch */ color: oklch(55.9% 0.164 141.0);
Tailwind
colors: {
  custom: {
    50: '#75ad63',
    500: '#308a20',
    950: '#000000',
  },
}
SCSS
$custom: #308a20;
$custom-light: #75ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#308a20",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 110.943,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.16389,
    "h": 141
  },
  "luminance": 0.1891
}

Semantic roles & 50–950 ramp

primary
#308A20
secondary
#A94DB9
accent
#42E5CD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308A20

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

Preview Lab → · Contrast checker → · Palette generator →

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