#30792B#30792B

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

Color values

HEX#30792B
RGBrgb(48, 121, 43)
HSLhsl(116, 48%, 32%)
HSVhsv(116, 64%, 47%)
CMYKcmyk(60.3%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.91, -39.01, 35.20)
CIE-LCHlch(44.91, 52.55, 137.94°)
OKLaboklab(51.21% -0.1063 0.0822)
OKLCHoklch(51.21% 0.134 142.3)
XYZxyz(8.4919, 14.4768, 4.6318)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30792B #742B79
analogous
#57792B #30792B #2B794D
triadic
#30792B #2B3079 #792B30
tetradic
#30792B #2B5779 #742B79 #794D2B
square
#30792B #2B5779 #742B79 #794D2B
split-complementary
#30792B #4D2B79 #792B57
monochromatic
#0C1F0B #1E4C1B #30792B #42A63B #61C45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30792B#FFFFFF#000000##FFFFFF
##30792B1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30792b;
/* rgb */ color: rgb(48, 121, 43);
/* oklch */ color: oklch(51.2% 0.134 142.3);
Tailwind
colors: {
  custom: {
    50: '#71a068',
    500: '#30792b',
    950: '#000000',
  },
}
SCSS
$custom: #30792b;
$custom-light: #71a068;
$custom-dark: #000000;
JSON
{
  "hex": "#30792b",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 116.154,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.13434,
    "h": 142.3
  },
  "luminance": 0.14478
}

Semantic roles & 50–950 ramp

primary
#30792B
secondary
#A556AA
accent
#51D7CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #30792B

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

Preview Lab → · Contrast checker → · Palette generator →

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