#30792A#30792A

#30792A is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.135 H 142.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#30792A
RGBrgb(48, 121, 42)
HSLhsl(115, 48%, 32%)
HSVhsv(115, 65%, 47%)
CMYKcmyk(60.3%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.90, -39.13, 35.66)
CIE-LCHlch(44.90, 52.94, 137.65°)
OKLaboklab(51.19% -0.1066 0.0831)
OKLCHoklch(51.19% 0.135 142.1)
XYZxyz(8.4738, 14.4695, 4.5364)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30792A #732A79
analogous
#58792A #30792A #2A794C
triadic
#30792A #2A3079 #792A30
tetradic
#30792A #2A5879 #732A79 #794C2A
square
#30792A #2A5879 #732A79 #794C2A
split-complementary
#30792A #4C2A79 #792A58
monochromatic
#0C1E0A #1E4C1A #30792A #42A63A #61C558

Accessibility & contrast

On white

5.39
#30792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#30792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30792A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30792A#FFFFFF#000000##FFFFFF
##30792A1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#736831
Tritanopia (blue-blind)
#257568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #30792a;
/* rgb */ color: rgb(48, 121, 42);
/* oklch */ color: oklch(51.2% 0.135 142.1);
Tailwind
colors: {
  custom: {
    50: '#71a067',
    500: '#30792a',
    950: '#000000',
  },
}
SCSS
$custom: #30792a;
$custom-light: #71a067;
$custom-dark: #000000;
JSON
{
  "hex": "#30792a",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 115.443,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.13517,
    "h": 142.1
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#30792A
secondary
#A454AB
accent
#50D8CE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #30792A

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

Preview Lab → · Contrast checker → · Palette generator →

#30792A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva