#30972B#30972B

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

Color values

HEX#30972B
RGBrgb(48, 151, 43)
HSLhsl(117, 56%, 38%)
HSVhsv(117, 72%, 59%)
CMYKcmyk(68.2%, 0%, 71.5%, 40.8%)
CIE-LABlab(55.01, -50.30, 46.14)
CIE-LCHlch(55.01, 68.25, 137.47°)
OKLaboklab(59.55% -0.1368 0.1053)
OKLCHoklch(59.55% 0.173 142.4)
XYZxyz(12.7209, 22.9347, 6.0415)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30972B #922B97
analogous
#66972B #30972B #2B975C
triadic
#30972B #2B3097 #972B30
tetradic
#30972B #2B6697 #922B97 #975C2B
square
#30972B #2B6697 #922B97 #975C2B
split-complementary
#30972B #5C2B97 #972B66
monochromatic
#123810 #21671D #30972B #3FC739 #6DD468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30972B#FFFFFF#000000##000000
##30972B1.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)
#9A891A
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#189282
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #30972b;
/* rgb */ color: rgb(48, 151, 43);
/* oklch */ color: oklch(59.6% 0.173 142.4);
Tailwind
colors: {
  custom: {
    50: '#77b76b',
    500: '#30972b',
    950: '#000000',
  },
}
SCSS
$custom: #30972b;
$custom-light: #77b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#30972b",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 117.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59551,
    "c": 0.17265,
    "h": 142.4
  },
  "luminance": 0.22936
}

Semantic roles & 50–950 ramp

primary
#30972B
secondary
#B763BB
accent
#49DFD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #30972B

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

Preview Lab → · Contrast checker → · Palette generator →

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