#30972C#30972C

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

Color values

HEX#30972C
RGBrgb(48, 151, 44)
HSLhsl(118, 55%, 38%)
HSVhsv(118, 71%, 59%)
CMYKcmyk(68.2%, 0%, 70.9%, 40.8%)
CIE-LABlab(55.01, -50.21, 45.74)
CIE-LCHlch(55.01, 67.92, 137.66°)
OKLaboklab(59.56% -0.1365 0.1046)
OKLCHoklch(59.56% 0.172 142.6)
XYZxyz(12.7394, 22.9421, 6.1393)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30972C #932C97
analogous
#65972C #30972C #2C975D
triadic
#30972C #2C3097 #972C30
tetradic
#30972C #2C6597 #932C97 #975D2C
square
#30972C #2C6597 #932C97 #975D2C
split-complementary
#30972C #5D2C97 #972C65
monochromatic
#123810 #21681E #30972C #40C63A #6ED46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #30972c;
/* rgb */ color: rgb(48, 151, 44);
/* oklch */ color: oklch(59.6% 0.172 142.6);
Tailwind
colors: {
  custom: {
    50: '#77b76b',
    500: '#30972c',
    950: '#000000',
  },
}
SCSS
$custom: #30972c;
$custom-light: #77b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#30972c",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 117.757,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.17199,
    "h": 142.6
  },
  "luminance": 0.22943
}

Semantic roles & 50–950 ramp

primary
#30972C
secondary
#B765BA
accent
#4ADED9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #30972C

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

Preview Lab → · Contrast checker → · Palette generator →

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