#30781C#30781C

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

Color values

HEX#30781C
RGBrgb(48, 120, 28)
HSLhsl(107, 62%, 29%)
HSVhsv(107, 77%, 47%)
CMYKcmyk(60%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.44, -40.08, 41.23)
CIE-LCHlch(44.44, 57.50, 134.19°)
OKLaboklab(50.78% -0.1101 0.093)
OKLCHoklch(50.78% 0.144 139.8)
XYZxyz(8.1446, 14.1444, 3.3993)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30781C #641C78
analogous
#5E781C #30781C #1C7836
triadic
#30781C #1C3078 #781C30
tetradic
#30781C #1C5E78 #641C78 #78361C
square
#30781C #1C5E78 #641C78 #78361C
split-complementary
#30781C #361C78 #781C5E
monochromatic
#0A1906 #1C4610 #30781C #44AA28 #5DD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30781C#FFFFFF#000000##FFFFFF
##30781C1.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)
#7C6D0A
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#277466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #30781c;
/* rgb */ color: rgb(48, 120, 28);
/* oklch */ color: oklch(50.8% 0.144 139.8);
Tailwind
colors: {
  custom: {
    50: '#71a05f',
    500: '#30781c',
    950: '#000000',
  },
}
SCSS
$custom: #30781c;
$custom-light: #71a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#30781c",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 106.957,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.14407,
    "h": 139.8
  },
  "luminance": 0.14145
}

Semantic roles & 50–950 ramp

primary
#30781C
secondary
#9544AC
accent
#43E5C2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #30781C

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

Preview Lab → · Contrast checker → · Palette generator →

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