#308A30#308A30

#308A30 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.153 H 143.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#308A30
RGBrgb(48, 138, 48)
HSLhsl(120, 48%, 36%)
HSVhsv(120, 65%, 54%)
CMYKcmyk(65.2%, 0%, 65.2%, 45.9%)
CIE-LABlab(50.71, -45.06, 39.35)
CIE-LCHlch(50.71, 59.82, 138.87°)
OKLaboklab(56.01% -0.1224 0.0916)
OKLCHoklch(56.01% 0.153 143.2)
XYZxyz(10.8403, 19.0177, 5.8952)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A30 #8A308A
analogous
#5D8A30 #308A30 #308A5D
triadic
#308A30 #30308A #8A3030
tetradic
#308A30 #305D8A #8A308A #8A5D30
square
#308A30 #305D8A #8A308A #8A5D30
split-complementary
#308A30 #5D308A #8A305D
monochromatic
#102F10 #205D20 #308A30 #40B740 #69CB69

Accessibility & contrast

On white

4.37
#308A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#308A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A30
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A30#FFFFFF#000000##000000
##308A301.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D25
Deuteranopia (green-blind)
#827638
Tritanopia (blue-blind)
#1D8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308a30;
/* rgb */ color: rgb(48, 138, 48);
/* oklch */ color: oklch(56.0% 0.153 143.2);
Tailwind
colors: {
  custom: {
    50: '#74ad6c',
    500: '#308a30',
    950: '#000000',
  },
}
SCSS
$custom: #308a30;
$custom-light: #74ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#308a30",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 120,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.15283,
    "h": 143.2
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#308A30
secondary
#B264B2
accent
#50D8D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308A30

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

Preview Lab → · Contrast checker → · Palette generator →

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