#30972E#30972E

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

Color values

HEX#30972E
RGBrgb(48, 151, 46)
HSLhsl(119, 53%, 39%)
HSVhsv(119, 70%, 59%)
CMYKcmyk(68.2%, 0%, 69.5%, 40.8%)
CIE-LABlab(55.03, -50.02, 44.94)
CIE-LCHlch(55.03, 67.24, 138.06°)
OKLaboklab(59.58% -0.1359 0.1031)
OKLCHoklch(59.58% 0.171 142.8)
XYZxyz(12.7779, 22.9575, 6.3421)
Luminance0.2296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30972E #952E97
analogous
#64972E #30972E #2E9760
triadic
#30972E #2E3097 #972E30
tetradic
#30972E #2E6497 #952E97 #97602E
square
#30972E #2E6497 #952E97 #97602E
split-complementary
#30972E #602E97 #972E64
monochromatic
#123911 #216820 #30972E #41C43E #6FD26D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30972E#FFFFFF#000000##000000
##30972E1.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)
#9A891F
Deuteranopia (green-blind)
#8E8138
Tritanopia (blue-blind)
#179382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #30972e;
/* rgb */ color: rgb(48, 151, 46);
/* oklch */ color: oklch(59.6% 0.171 142.8);
Tailwind
colors: {
  custom: {
    50: '#77b76c',
    500: '#30972e',
    950: '#000000',
  },
}
SCSS
$custom: #30972e;
$custom-light: #77b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#30972e",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 118.857,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59578,
    "c": 0.17062,
    "h": 142.8
  },
  "luminance": 0.22959
}

Semantic roles & 50–950 ramp

primary
#30972E
secondary
#B867BA
accent
#4BDDDA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #30972E

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

Preview Lab → · Contrast checker → · Palette generator →

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