#30771B#30771B

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

Color values

HEX#30771B
RGBrgb(48, 119, 27)
HSLhsl(106, 63%, 29%)
HSVhsv(106, 77%, 47%)
CMYKcmyk(59.7%, 0%, 77.3%, 53.3%)
CIE-LABlab(44.09, -39.77, 41.26)
CIE-LCHlch(44.09, 57.30, 133.94°)
OKLaboklab(50.49% -0.1093 0.0929)
OKLCHoklch(50.49% 0.143 139.6)
XYZxyz(8.0132, 13.9005, 3.2975)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30771B #621B77
analogous
#5E771B #30771B #1B7734
triadic
#30771B #1B3077 #771B30
tetradic
#30771B #1B5E77 #621B77 #77341B
square
#30771B #1B5E77 #621B77 #77341B
split-complementary
#30771B #341B77 #771B5E
monochromatic
#0A1906 #1C4510 #30771B #44A926 #5DD23A

Accessibility & contrast

On white

5.56
#30771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30771B
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30771B#FFFFFF#000000##FFFFFF
##30771B1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C08
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#287365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #30771b;
/* rgb */ color: rgb(48, 119, 27);
/* oklch */ color: oklch(50.5% 0.143 139.6);
Tailwind
colors: {
  custom: {
    50: '#719f5e',
    500: '#30771b',
    950: '#000000',
  },
}
SCSS
$custom: #30771b;
$custom-light: #719f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#30771b",
  "rgb": {
    "r": 48,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 106.304,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.14343,
    "h": 139.6
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#30771B
secondary
#9342AB
accent
#42E6C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30771B

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

Preview Lab → · Contrast checker → · Palette generator →

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