#30792E#30792E

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

Color values

HEX#30792E
RGBrgb(48, 121, 46)
HSLhsl(118, 45%, 33%)
HSVhsv(118, 62%, 47%)
CMYKcmyk(60.3%, 0%, 62%, 52.5%)
CIE-LABlab(44.94, -38.65, 33.78)
CIE-LCHlch(44.94, 51.33, 138.85°)
OKLaboklab(51.24% -0.1051 0.0794)
OKLCHoklch(51.24% 0.132 142.9)
XYZxyz(8.5490, 14.4996, 4.9324)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30792E #772E79
analogous
#55792E #30792E #2E7951
triadic
#30792E #2E3079 #792E30
tetradic
#30792E #2E5579 #772E79 #79512E
square
#30792E #2E5579 #772E79 #79512E
split-complementary
#30792E #512E79 #792E55
monochromatic
#0D200C #1E4D1D #30792E #42A53F #62C25F

Accessibility & contrast

On white

5.38
#30792E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#30792E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30792E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30792E#FFFFFF#000000##FFFFFF
##30792E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E26
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#247669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #30792e;
/* rgb */ color: rgb(48, 121, 46);
/* oklch */ color: oklch(51.2% 0.132 142.9);
Tailwind
colors: {
  custom: {
    50: '#71a069',
    500: '#30792e',
    950: '#000000',
  },
}
SCSS
$custom: #30792e;
$custom-light: #71a069;
$custom-dark: #000000;
JSON
{
  "hex": "#30792e",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 118.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51242,
    "c": 0.13176,
    "h": 142.9
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#30792E
secondary
#A75AA9
accent
#53D5D1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #30792E

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

Preview Lab → · Contrast checker → · Palette generator →

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