#30782E#30782E

#30782E is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.130 H 142.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#30782E
RGBrgb(48, 120, 46)
HSLhsl(118, 45%, 33%)
HSVhsv(118, 62%, 47%)
CMYKcmyk(60%, 0%, 61.7%, 52.9%)
CIE-LABlab(44.60, -38.25, 33.38)
CIE-LCHlch(44.60, 50.77, 138.88°)
OKLaboklab(50.96% -0.104 0.0786)
OKLCHoklch(50.96% 0.13 142.9)
XYZxyz(8.4281, 14.2578, 4.8921)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30782E #762E78
analogous
#55782E #30782E #2E7851
triadic
#30782E #2E3078 #782E30
tetradic
#30782E #2E5578 #762E78 #78512E
square
#30782E #2E5578 #762E78 #78512E
split-complementary
#30782E #512E78 #782E55
monochromatic
#0D200C #1E4C1D #30782E #42A43F #61C25F

Accessibility & contrast

On white

5.45
#30782E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#30782E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30782E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30782E#FFFFFF#000000##FFFFFF
##30782E1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D26
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#247568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #30782e;
/* rgb */ color: rgb(48, 120, 46);
/* oklch */ color: oklch(51.0% 0.130 142.9);
Tailwind
colors: {
  custom: {
    50: '#70a069',
    500: '#30782e',
    950: '#000000',
  },
}
SCSS
$custom: #30782e;
$custom-light: #70a069;
$custom-dark: #000000;
JSON
{
  "hex": "#30782e",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 118.378,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.13037,
    "h": 142.9
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#30782E
secondary
#A65AA8
accent
#54D4D1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #30782E

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

Preview Lab → · Contrast checker → · Palette generator →

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