#30972D#30972D

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

Color values

HEX#30972D
RGBrgb(48, 151, 45)
HSLhsl(118, 54%, 38%)
HSVhsv(118, 70%, 59%)
CMYKcmyk(68.2%, 0%, 70.2%, 40.8%)
CIE-LABlab(55.02, -50.11, 45.34)
CIE-LCHlch(55.02, 67.58, 137.86°)
OKLaboklab(59.57% -0.1362 0.1039)
OKLCHoklch(59.57% 0.171 142.7)
XYZxyz(12.7584, 22.9497, 6.2395)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30972D #942D97
analogous
#65972D #30972D #2D975F
triadic
#30972D #2D3097 #972D30
tetradic
#30972D #2D6597 #942D97 #975F2D
square
#30972D #2D6597 #942D97 #975F2D
split-complementary
#30972D #5F2D97 #972D65
monochromatic
#123911 #21681F #30972D #40C53C #6ED36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30972D#FFFFFF#000000##000000
##30972D1.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)
#9A891D
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#179382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #30972d;
/* rgb */ color: rgb(48, 151, 45);
/* oklch */ color: oklch(59.6% 0.171 142.7);
Tailwind
colors: {
  custom: {
    50: '#77b76c',
    500: '#30972d',
    950: '#000000',
  },
}
SCSS
$custom: #30972d;
$custom-light: #77b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#30972d",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 118.302,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59569,
    "c": 0.17131,
    "h": 142.7
  },
  "luminance": 0.22951
}

Semantic roles & 50–950 ramp

primary
#30972D
secondary
#B866BA
accent
#4ADDD9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #30972D

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

Preview Lab → · Contrast checker → · Palette generator →

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