#30972A#30972A

#30972A is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.173 H 142.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#30972A
RGBrgb(48, 151, 42)
HSLhsl(117, 56%, 38%)
HSVhsv(117, 72%, 59%)
CMYKcmyk(68.2%, 0%, 72.2%, 40.8%)
CIE-LABlab(55.00, -50.39, 46.53)
CIE-LCHlch(55.00, 68.59, 137.28°)
OKLaboklab(59.54% -0.1371 0.106)
OKLCHoklch(59.54% 0.173 142.3)
XYZxyz(12.7027, 22.9274, 5.9460)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30972A #912A97
analogous
#67972A #30972A #2A975A
triadic
#30972A #2A3097 #972A30
tetradic
#30972A #2A6797 #912A97 #975A2A
square
#30972A #2A6797 #912A97 #975A2A
split-complementary
#30972A #5A2A97 #972A67
monochromatic
#12370F #21671D #30972A #3FC737 #6DD567

Accessibility & contrast

On white

3.76
#30972A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#30972A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30972A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30972A#FFFFFF#000000##000000
##30972A1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#189281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #30972a;
/* rgb */ color: rgb(48, 151, 42);
/* oklch */ color: oklch(59.5% 0.173 142.3);
Tailwind
colors: {
  custom: {
    50: '#77b76a',
    500: '#30972a',
    950: '#000000',
  },
}
SCSS
$custom: #30972a;
$custom-light: #77b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#30972a",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 116.697,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59543,
    "c": 0.1733,
    "h": 142.3
  },
  "luminance": 0.22929
}

Semantic roles & 50–950 ramp

primary
#30972A
secondary
#B662BB
accent
#48E0D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #30972A

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

Preview Lab → · Contrast checker → · Palette generator →

#30972A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva