#30791F#30791F

#30791F is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.143 H 140.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#30791F
RGBrgb(48, 121, 31)
HSLhsl(109, 59%, 30%)
HSVhsv(109, 74%, 47%)
CMYKcmyk(60.3%, 0%, 74.4%, 52.5%)
CIE-LABlab(44.80, -40.23, 40.42)
CIE-LCHlch(44.80, 57.02, 134.87°)
OKLaboklab(51.08% -0.1103 0.0917)
OKLCHoklch(51.08% 0.143 140.3)
XYZxyz(8.3032, 14.4013, 3.6382)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30791F #681F79
analogous
#5D791F #30791F #1F793B
triadic
#30791F #1F3079 #791F30
tetradic
#30791F #1F5D79 #681F79 #793B1F
square
#30791F #1F5D79 #681F79 #793B1F
split-complementary
#30791F #3B1F79 #791F5D
monochromatic
#0A1806 #1D4813 #30791F #43AA2B #5ECF43

Accessibility & contrast

On white

5.41
#30791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#30791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30791F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30791F#FFFFFF#000000##FFFFFF
##30791F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E10
Deuteranopia (green-blind)
#736828
Tritanopia (blue-blind)
#277567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #30791f;
/* rgb */ color: rgb(48, 121, 31);
/* oklch */ color: oklch(51.1% 0.143 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a061',
    500: '#30791f',
    950: '#000000',
  },
}
SCSS
$custom: #30791f;
$custom-light: #71a061;
$custom-dark: #000000;
JSON
{
  "hex": "#30791f",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 108.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.14343,
    "h": 140.3
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#30791F
secondary
#9947AC
accent
#45E2C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #30791F

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

Preview Lab → · Contrast checker → · Palette generator →

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