#30781A#30781A

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

Color values

HEX#30781A
RGBrgb(48, 120, 26)
HSLhsl(106, 64%, 29%)
HSVhsv(106, 78%, 47%)
CMYKcmyk(60%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.43, -40.23, 41.97)
CIE-LCHlch(44.43, 58.14, 133.79°)
OKLaboklab(50.76% -0.1106 0.0942)
OKLCHoklch(50.76% 0.145 139.6)
XYZxyz(8.1215, 14.1352, 3.2775)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30781A #621A78
analogous
#5F781A #30781A #1A7833
triadic
#30781A #1A3078 #781A30
tetradic
#30781A #1A5F78 #621A78 #78331A
square
#30781A #1A5F78 #621A78 #78331A
split-complementary
#30781A #331A78 #781A5F
monochromatic
#0A1905 #1C460F #30781A #44AA25 #5DD438

Accessibility & contrast

On white

5.49
#30781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30781A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30781A#FFFFFF#000000##FFFFFF
##30781A1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D06
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#287466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #30781a;
/* rgb */ color: rgb(48, 120, 26);
/* oklch */ color: oklch(50.8% 0.145 139.6);
Tailwind
colors: {
  custom: {
    50: '#71a05e',
    500: '#30781a',
    950: '#000000',
  },
}
SCSS
$custom: #30781a;
$custom-light: #71a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#30781a",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 105.957,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.14529,
    "h": 139.6
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#30781A
secondary
#9341AC
accent
#40E7C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #30781A

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

Preview Lab → · Contrast checker → · Palette generator →

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