#30792F#30792F

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

Color values

HEX#30792F
RGBrgb(48, 121, 47)
HSLhsl(119, 44%, 33%)
HSVhsv(119, 61%, 47%)
CMYKcmyk(60.3%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.95, -38.53, 33.29)
CIE-LCHlch(44.95, 50.92, 139.17°)
OKLaboklab(51.26% -0.1047 0.0785)
OKLCHoklch(51.26% 0.131 143.2)
XYZxyz(8.5689, 14.5076, 5.0375)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30792F #782F79
analogous
#55792F #30792F #2F7953
triadic
#30792F #2F3079 #792F30
tetradic
#30792F #2F5579 #782F79 #79532F
square
#30792F #2F5579 #782F79 #79532F
split-complementary
#30792F #532F79 #792F55
monochromatic
#0D210D #1F4D1E #30792F #41A540 #62C261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30792F#FFFFFF#000000##FFFFFF
##30792F1.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)
#7C6E27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#247669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #30792f;
/* rgb */ color: rgb(48, 121, 47);
/* oklch */ color: oklch(51.3% 0.131 143.2);
Tailwind
colors: {
  custom: {
    50: '#71a06a',
    500: '#30792f',
    950: '#000000',
  },
}
SCSS
$custom: #30792f;
$custom-light: #71a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#30792f",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 119.189,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51255,
    "c": 0.13088,
    "h": 143.2
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#30792F
secondary
#A75BA8
accent
#54D4D2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #30792F

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

Preview Lab → · Contrast checker → · Palette generator →

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