#30972F#30972F

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

Color values

HEX#30972F
RGBrgb(48, 151, 47)
HSLhsl(119, 53%, 39%)
HSVhsv(119, 69%, 59%)
CMYKcmyk(68.2%, 0%, 68.9%, 40.8%)
CIE-LABlab(55.04, -49.92, 44.52)
CIE-LCHlch(55.04, 66.89, 138.27°)
OKLaboklab(59.59% -0.1356 0.1024)
OKLCHoklch(59.59% 0.17 142.9)
XYZxyz(12.7979, 22.9655, 6.4471)
Luminance0.2297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30972F #962F97
analogous
#64972F #30972F #2F9762
triadic
#30972F #2F3097 #972F30
tetradic
#30972F #2F6497 #962F97 #97622F
square
#30972F #2F6497 #962F97 #97622F
split-complementary
#30972F #622F97 #972F64
monochromatic
#123A12 #216820 #30972F #41C340 #6FD26E

Accessibility & contrast

On white

3.75
#30972F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##30972F#FFFFFF#000000##000000
##30972F1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8921
Deuteranopia (green-blind)
#8E8139
Tritanopia (blue-blind)
#169382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #30972f;
/* rgb */ color: rgb(48, 151, 47);
/* oklch */ color: oklch(59.6% 0.170 142.9);
Tailwind
colors: {
  custom: {
    50: '#77b76d',
    500: '#30972f',
    950: '#000000',
  },
}
SCSS
$custom: #30972f;
$custom-light: #77b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#30972f",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 119.423,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59588,
    "c": 0.16991,
    "h": 142.9
  },
  "luminance": 0.22967
}

Semantic roles & 50–950 ramp

primary
#30972F
secondary
#B968B9
accent
#4CDCDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #30972F

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

Preview Lab → · Contrast checker → · Palette generator →

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