#30771E#30771E

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

Color values

HEX#30771E
RGBrgb(48, 119, 30)
HSLhsl(108, 60%, 29%)
HSVhsv(108, 75%, 47%)
CMYKcmyk(59.7%, 0%, 74.8%, 53.3%)
CIE-LABlab(44.11, -39.52, 40.11)
CIE-LCHlch(44.11, 56.31, 134.58°)
OKLaboklab(50.51% -0.1084 0.0909)
OKLCHoklch(50.51% 0.142 140)
XYZxyz(8.0497, 13.9151, 3.4897)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30771E #651E77
analogous
#5D771E #30771E #1E7739
triadic
#30771E #1E3077 #771E30
tetradic
#30771E #1E5D77 #651E77 #77391E
square
#30771E #1E5D77 #651E77 #77391E
split-complementary
#30771E #391E77 #771E5D
monochromatic
#0A1806 #1C4612 #30771E #44A82A #5DCF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30771E#FFFFFF#000000##FFFFFF
##30771E1.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)
#7A6C0F
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#277366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #30771e;
/* rgb */ color: rgb(48, 119, 30);
/* oklch */ color: oklch(50.5% 0.142 140.0);
Tailwind
colors: {
  custom: {
    50: '#719f60',
    500: '#30771e',
    950: '#000000',
  },
}
SCSS
$custom: #30771e;
$custom-light: #719f60;
$custom-dark: #000000;
JSON
{
  "hex": "#30771e",
  "rgb": {
    "r": 48,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 107.865,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.14151,
    "h": 140
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#30771E
secondary
#9646AB
accent
#45E3C3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30771E

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

Preview Lab → · Contrast checker → · Palette generator →

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