#30791D#30791D

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

Color values

HEX#30791D
RGBrgb(48, 121, 29)
HSLhsl(108, 61%, 29%)
HSVhsv(108, 76%, 47%)
CMYKcmyk(60.3%, 0%, 76%, 52.5%)
CIE-LABlab(44.79, -40.39, 41.19)
CIE-LCHlch(44.79, 57.69, 134.44°)
OKLaboklab(51.07% -0.1109 0.093)
OKLCHoklch(51.07% 0.145 140)
XYZxyz(8.2777, 14.3911, 3.5037)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30791D #661D79
analogous
#5E791D #30791D #1D7938
triadic
#30791D #1D3079 #791D30
tetradic
#30791D #1D5E79 #661D79 #79381D
square
#30791D #1D5E79 #661D79 #79381D
split-complementary
#30791D #381D79 #791D5E
monochromatic
#0A1906 #1C4811 #30791D #44AA29 #5DD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30791D#FFFFFF#000000##FFFFFF
##30791D1.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)
#7C6E0C
Deuteranopia (green-blind)
#736826
Tritanopia (blue-blind)
#277567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #30791d;
/* rgb */ color: rgb(48, 121, 29);
/* oklch */ color: oklch(51.1% 0.145 140.0);
Tailwind
colors: {
  custom: {
    50: '#72a060',
    500: '#30791d',
    950: '#000000',
  },
}
SCSS
$custom: #30791d;
$custom-light: #72a060;
$custom-dark: #000000;
JSON
{
  "hex": "#30791d",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 107.609,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.14472,
    "h": 140
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#30791D
secondary
#9745AD
accent
#43E4C3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #30791D

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

Preview Lab → · Contrast checker → · Palette generator →

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