#30781F#30781F

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

Color values

HEX#30781F
RGBrgb(48, 120, 31)
HSLhsl(109, 59%, 30%)
HSVhsv(109, 74%, 47%)
CMYKcmyk(60%, 0%, 74.2%, 52.9%)
CIE-LABlab(44.46, -39.83, 40.06)
CIE-LCHlch(44.46, 56.50, 134.83°)
OKLaboklab(50.8% -0.1092 0.091)
OKLCHoklch(50.8% 0.142 140.2)
XYZxyz(8.1823, 14.1595, 3.5979)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30781F #671F78
analogous
#5D781F #30781F #1F783A
triadic
#30781F #1F3078 #781F30
tetradic
#30781F #1F5D78 #671F78 #783A1F
square
#30781F #1F5D78 #671F78 #783A1F
split-complementary
#30781F #3A1F78 #781F5D
monochromatic
#0A1806 #1D4712 #30781F #43A92C #5ECE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30781F#FFFFFF#000000##FFFFFF
##30781F1.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)
#7B6D10
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#277466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #30781f;
/* rgb */ color: rgb(48, 120, 31);
/* oklch */ color: oklch(50.8% 0.142 140.2);
Tailwind
colors: {
  custom: {
    50: '#71a060',
    500: '#30781f',
    950: '#000000',
  },
}
SCSS
$custom: #30781f;
$custom-light: #71a060;
$custom-dark: #000000;
JSON
{
  "hex": "#30781f",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 108.539,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.14214,
    "h": 140.2
  },
  "luminance": 0.1416
}

Semantic roles & 50–950 ramp

primary
#30781F
secondary
#9847AB
accent
#46E2C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #30781F

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

Preview Lab → · Contrast checker → · Palette generator →

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