#30971C#30971C

#30971C is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.181 H 140.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#30971C
RGBrgb(48, 151, 28)
HSLhsl(110, 69%, 35%)
HSVhsv(110, 81%, 59%)
CMYKcmyk(68.2%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.91, -51.42, 51.37)
CIE-LCHlch(54.91, 72.68, 135.03°)
OKLaboklab(59.44% -0.1406 0.1141)
OKLCHoklch(59.44% 0.181 140.9)
XYZxyz(12.4945, 22.8441, 4.8493)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30971C #831C97
analogous
#6D971C #30971C #1C9746
triadic
#30971C #1C3097 #971C30
tetradic
#30971C #1C6D97 #831C97 #97461C
square
#30971C #1C6D97 #831C97 #97461C
split-complementary
#30971C #461C97 #971C6D
monochromatic
#0F3009 #206312 #30971C #40CB26 #66DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30971C#FFFFFF#000000##000000
##30971C1.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)
#8F802B
Tritanopia (blue-blind)
#1B9280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #30971c;
/* rgb */ color: rgb(48, 151, 28);
/* oklch */ color: oklch(59.4% 0.181 140.9);
Tailwind
colors: {
  custom: {
    50: '#78b763',
    500: '#30971c',
    950: '#000000',
  },
}
SCSS
$custom: #30971c;
$custom-light: #78b763;
$custom-dark: #000000;
JSON
{
  "hex": "#30971c",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 110.244,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59444,
    "c": 0.18112,
    "h": 140.9
  },
  "luminance": 0.22845
}

Semantic roles & 50–950 ramp

primary
#30971C
secondary
#AE4EC1
accent
#3CECCF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #30971C

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

Preview Lab → · Contrast checker → · Palette generator →

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