#30971D#30971D

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

Color values

HEX#30971D
RGBrgb(48, 151, 29)
HSLhsl(111, 68%, 35%)
HSVhsv(111, 81%, 59%)
CMYKcmyk(68.2%, 0%, 80.8%, 40.8%)
CIE-LABlab(54.92, -51.36, 51.07)
CIE-LCHlch(54.92, 72.43, 135.16°)
OKLaboklab(59.45% -0.1404 0.1136)
OKLCHoklch(59.45% 0.181 141)
XYZxyz(12.5067, 22.8490, 4.9134)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30971D #841D97
analogous
#6D971D #30971D #1D9747
triadic
#30971D #1D3097 #971D30
tetradic
#30971D #1D6D97 #841D97 #97471D
square
#30971D #1D6D97 #841D97 #97471D
split-complementary
#30971D #471D97 #971D6D
monochromatic
#0F3009 #206413 #30971D #40CA27 #67DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30971D#FFFFFF#000000##000000
##30971D1.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: #30971d;
/* rgb */ color: rgb(48, 151, 29);
/* oklch */ color: oklch(59.5% 0.181 141.0);
Tailwind
colors: {
  custom: {
    50: '#78b764',
    500: '#30971d',
    950: '#000000',
  },
}
SCSS
$custom: #30971d;
$custom-light: #78b764;
$custom-dark: #000000;
JSON
{
  "hex": "#30971d",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 110.656,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5945,
    "c": 0.18065,
    "h": 141
  },
  "luminance": 0.2285
}

Semantic roles & 50–950 ramp

primary
#30971D
secondary
#AF4FC0
accent
#3DEBD0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #30971D

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

Preview Lab → · Contrast checker → · Palette generator →

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