#30971E#30971E

#30971E is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.180 H 141.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#30971E
RGBrgb(48, 151, 30)
HSLhsl(111, 67%, 35%)
HSVhsv(111, 80%, 59%)
CMYKcmyk(68.2%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.92, -51.30, 50.76)
CIE-LCHlch(54.92, 72.16, 135.30°)
OKLaboklab(59.46% -0.1402 0.1131)
OKLCHoklch(59.46% 0.18 141.1)
XYZxyz(12.5192, 22.8540, 4.9795)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30971E #851E97
analogous
#6D971E #30971E #1E9748
triadic
#30971E #1E3097 #971E30
tetradic
#30971E #1E6D97 #851E97 #97481E
square
#30971E #1E6D97 #851E97 #97481E
split-complementary
#30971E #481E97 #971E6D
monochromatic
#10310A #206414 #30971E #40CA28 #67DD53

Accessibility & contrast

On white

3.77
#30971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#30971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30971E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30971E#FFFFFF#000000##000000
##30971E1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#1B9281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #30971e;
/* rgb */ color: rgb(48, 151, 30);
/* oklch */ color: oklch(59.5% 0.180 141.1);
Tailwind
colors: {
  custom: {
    50: '#78b764',
    500: '#30971e',
    950: '#000000',
  },
}
SCSS
$custom: #30971e;
$custom-light: #78b764;
$custom-dark: #000000;
JSON
{
  "hex": "#30971e",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 111.074,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.18017,
    "h": 141.1
  },
  "luminance": 0.22855
}

Semantic roles & 50–950 ramp

primary
#30971E
secondary
#AF51C0
accent
#3EEAD0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #30971E

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

Preview Lab → · Contrast checker → · Palette generator →

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