#30781D#30781D

#30781D is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.143 H 139.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#30781D
RGBrgb(48, 120, 29)
HSLhsl(107, 61%, 29%)
HSVhsv(107, 76%, 47%)
CMYKcmyk(60%, 0%, 75.8%, 52.9%)
CIE-LABlab(44.45, -40.00, 40.85)
CIE-LCHlch(44.45, 57.17, 134.40°)
OKLaboklab(50.78% -0.1098 0.0923)
OKLCHoklch(50.78% 0.143 139.9)
XYZxyz(8.1568, 14.1493, 3.4634)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30781D #651D78
analogous
#5E781D #30781D #1D7838
triadic
#30781D #1D3078 #781D30
tetradic
#30781D #1D5E78 #651D78 #78381D
square
#30781D #1D5E78 #651D78 #78381D
split-complementary
#30781D #381D78 #781D5E
monochromatic
#0A1906 #1C4711 #30781D #44A929 #5DD13F

Accessibility & contrast

On white

5.48
#30781D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#30781D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30781D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30781D#FFFFFF#000000##FFFFFF
##30781D1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0C
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#277466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #30781d;
/* rgb */ color: rgb(48, 120, 29);
/* oklch */ color: oklch(50.8% 0.143 139.9);
Tailwind
colors: {
  custom: {
    50: '#71a05f',
    500: '#30781d',
    950: '#000000',
  },
}
SCSS
$custom: #30781d;
$custom-light: #71a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#30781d",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 107.473,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50784,
    "c": 0.14344,
    "h": 139.9
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

primary
#30781D
secondary
#9645AC
accent
#44E4C3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #30781D

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

Preview Lab → · Contrast checker → · Palette generator →

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