#30771F#30771F

#30771F is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.141 H 140.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#30771F
RGBrgb(48, 119, 31)
HSLhsl(108, 59%, 29%)
HSVhsv(108, 74%, 47%)
CMYKcmyk(59.7%, 0%, 73.9%, 53.3%)
CIE-LABlab(44.12, -39.44, 39.71)
CIE-LCHlch(44.12, 55.97, 134.80°)
OKLaboklab(50.52% -0.1082 0.0902)
OKLCHoklch(50.52% 0.141 140.2)
XYZxyz(8.0627, 13.9203, 3.5581)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30771F #661F77
analogous
#5C771F #30771F #1F773A
triadic
#30771F #1F3077 #771F30
tetradic
#30771F #1F5C77 #661F77 #773A1F
square
#30771F #1F5C77 #661F77 #773A1F
split-complementary
#30771F #3A1F77 #771F5C
monochromatic
#0A1806 #1C4612 #30771F #44A82C #5DCE43

Accessibility & contrast

On white

5.55
#30771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#30771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30771F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30771F#FFFFFF#000000##FFFFFF
##30771F1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#277366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #30771f;
/* rgb */ color: rgb(48, 119, 31);
/* oklch */ color: oklch(50.5% 0.141 140.2);
Tailwind
colors: {
  custom: {
    50: '#719f60',
    500: '#30771f',
    950: '#000000',
  },
}
SCSS
$custom: #30771f;
$custom-light: #719f60;
$custom-dark: #000000;
JSON
{
  "hex": "#30771f",
  "rgb": {
    "r": 48,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 108.409,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50518,
    "c": 0.14084,
    "h": 140.2
  },
  "luminance": 0.13921
}

Semantic roles & 50–950 ramp

primary
#30771F
secondary
#9747AB
accent
#46E2C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30771F

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

Preview Lab → · Contrast checker → · Palette generator →

#30771F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva