#308C20#308C20

#308C20 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.166 H 141.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308C20
RGBrgb(48, 140, 32)
HSLhsl(111, 63%, 34%)
HSVhsv(111, 77%, 55%)
CMYKcmyk(65.7%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.25, -47.28, 46.52)
CIE-LCHlch(51.25, 66.33, 135.46°)
OKLaboklab(56.42% -0.1293 0.1046)
OKLCHoklch(56.42% 0.166 141)
XYZxyz(10.8572, 19.4878, 4.5556)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C20 #7C208C
analogous
#668C20 #308C20 #208C46
triadic
#308C20 #20308C #8C2030
tetradic
#308C20 #20668C #7C208C #8C4620
square
#308C20 #20668C #7C208C #8C4620
split-complementary
#308C20 #46208C #8C2066
monochromatic
#0E2809 #1F5A15 #308C20 #41BE2B #64D750

Accessibility & contrast

On white

4.29
#308C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#308C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C20
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C20#FFFFFF#000000##000000
##308C201.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#208777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c20;
/* rgb */ color: rgb(48, 140, 32);
/* oklch */ color: oklch(56.4% 0.166 141.0);
Tailwind
colors: {
  custom: {
    50: '#75ae64',
    500: '#308c20',
    950: '#000000',
  },
}
SCSS
$custom: #308c20;
$custom-light: #75ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#308c20",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 111.111,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56419,
    "c": 0.16628,
    "h": 141
  },
  "luminance": 0.19489
}

Semantic roles & 50–950 ramp

primary
#308C20
secondary
#AA4EBA
accent
#42E6CE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C20

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

Preview Lab → · Contrast checker → · Palette generator →

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