#30781B#30781B

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

Color values

HEX#30781B
RGBrgb(48, 120, 27)
HSLhsl(106, 63%, 29%)
HSVhsv(106, 78%, 47%)
CMYKcmyk(60%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.43, -40.16, 41.60)
CIE-LCHlch(44.43, 57.82, 133.99°)
OKLaboklab(50.77% -0.1103 0.0936)
OKLCHoklch(50.77% 0.145 139.7)
XYZxyz(8.1329, 14.1397, 3.3374)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30781B #631B78
analogous
#5F781B #30781B #1B7835
triadic
#30781B #1B3078 #781B30
tetradic
#30781B #1B5F78 #631B78 #78351B
square
#30781B #1B5F78 #631B78 #78351B
split-complementary
#30781B #351B78 #781B5F
monochromatic
#0A1906 #1C4610 #30781B #44AA26 #5DD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30781B#FFFFFF#000000##FFFFFF
##30781B1.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)
#7C6D08
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#277466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #30781b;
/* rgb */ color: rgb(48, 120, 27);
/* oklch */ color: oklch(50.8% 0.145 139.7);
Tailwind
colors: {
  custom: {
    50: '#71a05e',
    500: '#30781b',
    950: '#000000',
  },
}
SCSS
$custom: #30781b;
$custom-light: #71a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#30781b",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 106.452,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.14469,
    "h": 139.7
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#30781B
secondary
#9443AC
accent
#41E6C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #30781B

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

Preview Lab → · Contrast checker → · Palette generator →

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