#30771D#30771D

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

Color values

HEX#30771D
RGBrgb(48, 119, 29)
HSLhsl(107, 61%, 29%)
HSVhsv(107, 76%, 47%)
CMYKcmyk(59.7%, 0%, 75.6%, 53.3%)
CIE-LABlab(44.10, -39.61, 40.50)
CIE-LCHlch(44.10, 56.65, 134.36°)
OKLaboklab(50.5% -0.1087 0.0916)
OKLCHoklch(50.5% 0.142 139.9)
XYZxyz(8.0372, 13.9100, 3.4235)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30771D #641D77
analogous
#5D771D #30771D #1D7737
triadic
#30771D #1D3077 #771D30
tetradic
#30771D #1D5D77 #641D77 #77371D
square
#30771D #1D5D77 #641D77 #77371D
split-complementary
#30771D #371D77 #771D5D
monochromatic
#0A1906 #1C4611 #30771D #44A829 #5DD03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30771D#FFFFFF#000000##FFFFFF
##30771D1.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)
#7A6C0D
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#287365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #30771d;
/* rgb */ color: rgb(48, 119, 29);
/* oklch */ color: oklch(50.5% 0.142 139.9);
Tailwind
colors: {
  custom: {
    50: '#719f5f',
    500: '#30771d',
    950: '#000000',
  },
}
SCSS
$custom: #30771d;
$custom-light: #719f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#30771d",
  "rgb": {
    "r": 48,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 107.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.14217,
    "h": 139.9
  },
  "luminance": 0.13911
}

Semantic roles & 50–950 ramp

primary
#30771D
secondary
#9545AB
accent
#44E4C2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30771D

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

Preview Lab → · Contrast checker → · Palette generator →

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