#30731D#30731D

#30731D is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.137 H 139.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#30731D
RGBrgb(48, 115, 29)
HSLhsl(107, 60%, 28%)
HSVhsv(107, 75%, 45%)
CMYKcmyk(58.3%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.73, -38.01, 39.10)
CIE-LCHlch(42.73, 54.53, 134.19°)
OKLaboklab(49.37% -0.1044 0.0887)
OKLCHoklch(49.37% 0.137 139.7)
XYZxyz(7.5711, 12.9779, 3.2682)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30731D #601D73
analogous
#5B731D #30731D #1D7335
triadic
#30731D #1D3073 #731D30
tetradic
#30731D #1D5B73 #601D73 #73351D
square
#30731D #1D5B73 #601D73 #73351D
split-complementary
#30731D #351D73 #731D5B
monochromatic
#0A1806 #1C4211 #30731D #44A429 #5DCE3C

Accessibility & contrast

On white

5.84
#30731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#30731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30731D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30731D#FFFFFF#000000##FFFFFF
##30731D1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680E
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#296F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #30731d;
/* rgb */ color: rgb(48, 115, 29);
/* oklch */ color: oklch(49.4% 0.137 139.7);
Tailwind
colors: {
  custom: {
    50: '#709c5f',
    500: '#30731d',
    950: '#000000',
  },
}
SCSS
$custom: #30731d;
$custom-light: #709c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#30731d",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 106.744,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.137,
    "h": 139.7
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#30731D
secondary
#9145A7
accent
#45E3C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30731D

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

Preview Lab → · Contrast checker → · Palette generator →

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