#30731A#30731A

#30731A is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.139 H 139.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#30731A
RGBrgb(48, 115, 26)
HSLhsl(105, 63%, 28%)
HSVhsv(105, 77%, 45%)
CMYKcmyk(58.3%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.71, -38.25, 40.27)
CIE-LCHlch(42.71, 55.54, 133.53°)
OKLaboklab(49.34% -0.1053 0.0907)
OKLCHoklch(49.34% 0.139 139.3)
XYZxyz(7.5358, 12.9638, 3.0822)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30731A #5D1A73
analogous
#5C731A #30731A #1A7331
triadic
#30731A #1A3073 #731A30
tetradic
#30731A #1A5C73 #5D1A73 #73311A
square
#30731A #1A5C73 #5D1A73 #73311A
split-complementary
#30731A #311A73 #731A5C
monochromatic
#0A1906 #1B410F #30731A #45A525 #5CD236

Accessibility & contrast

On white

5.85
#30731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#30731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30731A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30731A#FFFFFF#000000##FFFFFF
##30731A1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776808
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#296F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #30731a;
/* rgb */ color: rgb(48, 115, 26);
/* oklch */ color: oklch(49.3% 0.139 139.3);
Tailwind
colors: {
  custom: {
    50: '#719c5d',
    500: '#30731a',
    950: '#000000',
  },
}
SCSS
$custom: #30731a;
$custom-light: #719c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#30731a",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 105.169,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.13894,
    "h": 139.3
  },
  "luminance": 0.12964
}

Semantic roles & 50–950 ramp

primary
#30731A
secondary
#8E41A8
accent
#42E6BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #30731A

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

Preview Lab → · Contrast checker → · Palette generator →

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