#30781E#30781E

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

Color values

HEX#30781E
RGBrgb(48, 120, 30)
HSLhsl(108, 60%, 29%)
HSVhsv(108, 75%, 47%)
CMYKcmyk(60%, 0%, 75%, 52.9%)
CIE-LABlab(44.45, -39.92, 40.46)
CIE-LCHlch(44.45, 56.84, 134.61°)
OKLaboklab(50.79% -0.1095 0.0916)
OKLCHoklch(50.79% 0.143 140.1)
XYZxyz(8.1694, 14.1543, 3.5296)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30781E #661E78
analogous
#5D781E #30781E #1E7839
triadic
#30781E #1E3078 #781E30
tetradic
#30781E #1E5D78 #661E78 #78391E
square
#30781E #1E5D78 #661E78 #78391E
split-complementary
#30781E #391E78 #781E5D
monochromatic
#0A1806 #1C4712 #30781E #44A92A #5DCF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30781E#FFFFFF#000000##FFFFFF
##30781E1.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)
#7B6D0E
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#277466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #30781e;
/* rgb */ color: rgb(48, 120, 30);
/* oklch */ color: oklch(50.8% 0.143 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a060',
    500: '#30781e',
    950: '#000000',
  },
}
SCSS
$custom: #30781e;
$custom-light: #71a060;
$custom-dark: #000000;
JSON
{
  "hex": "#30781e",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 108,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.1428,
    "h": 140.1
  },
  "luminance": 0.14155
}

Semantic roles & 50–950 ramp

primary
#30781E
secondary
#9746AC
accent
#45E3C3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #30781E

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

Preview Lab → · Contrast checker → · Palette generator →

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