#30792C#30792C

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

Color values

HEX#30792C
RGBrgb(48, 121, 44)
HSLhsl(117, 47%, 32%)
HSVhsv(117, 64%, 47%)
CMYKcmyk(60.3%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.92, -38.90, 34.73)
CIE-LCHlch(44.92, 52.14, 138.24°)
OKLaboklab(51.22% -0.1059 0.0813)
OKLCHoklch(51.22% 0.134 142.5)
XYZxyz(8.5105, 14.4842, 4.7296)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30792C #752C79
analogous
#57792C #30792C #2C794E
triadic
#30792C #2C3079 #792C30
tetradic
#30792C #2C5779 #752C79 #794E2C
square
#30792C #2C5779 #752C79 #794E2C
split-complementary
#30792C #4E2C79 #792C57
monochromatic
#0C1F0B #1E4C1C #30792C #42A63C #61C45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30792C#FFFFFF#000000##FFFFFF
##30792C1.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)
#7C6E23
Deuteranopia (green-blind)
#726832
Tritanopia (blue-blind)
#247569
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #30792c;
/* rgb */ color: rgb(48, 121, 44);
/* oklch */ color: oklch(51.2% 0.134 142.5);
Tailwind
colors: {
  custom: {
    50: '#71a068',
    500: '#30792c',
    950: '#000000',
  },
}
SCSS
$custom: #30792c;
$custom-light: #71a068;
$custom-dark: #000000;
JSON
{
  "hex": "#30792c",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 116.883,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.1335,
    "h": 142.5
  },
  "luminance": 0.14485
}

Semantic roles & 50–950 ramp

primary
#30792C
secondary
#A557AA
accent
#51D6CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #30792C

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

Preview Lab → · Contrast checker → · Palette generator →

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