#30771C#30771C

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

Color values

HEX#30771C
RGBrgb(48, 119, 28)
HSLhsl(107, 62%, 29%)
HSVhsv(107, 76%, 47%)
CMYKcmyk(59.7%, 0%, 76.5%, 53.3%)
CIE-LABlab(44.10, -39.69, 40.89)
CIE-LCHlch(44.10, 56.98, 134.15°)
OKLaboklab(50.49% -0.109 0.0922)
OKLCHoklch(50.49% 0.143 139.8)
XYZxyz(8.0250, 13.9052, 3.3595)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30771C #631C77
analogous
#5E771C #30771C #1C7736
triadic
#30771C #1C3077 #771C30
tetradic
#30771C #1C5E77 #631C77 #77361C
square
#30771C #1C5E77 #631C77 #77361C
split-complementary
#30771C #361C77 #771C5E
monochromatic
#0A1906 #1C4510 #30771C #44A928 #5DD13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30771C#FFFFFF#000000##FFFFFF
##30771C1.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)
#7A6C0B
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#287365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #30771c;
/* rgb */ color: rgb(48, 119, 28);
/* oklch */ color: oklch(50.5% 0.143 139.8);
Tailwind
colors: {
  custom: {
    50: '#719f5f',
    500: '#30771c',
    950: '#000000',
  },
}
SCSS
$custom: #30771c;
$custom-light: #719f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#30771c",
  "rgb": {
    "r": 48,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 106.813,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50493,
    "c": 0.14281,
    "h": 139.8
  },
  "luminance": 0.13906
}

Semantic roles & 50–950 ramp

primary
#30771C
secondary
#9444AB
accent
#43E5C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30771C

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

Preview Lab → · Contrast checker → · Palette generator →

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