#30731E#30731E

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

Color values

HEX#30731E
RGBrgb(48, 115, 30)
HSLhsl(107, 59%, 28%)
HSVhsv(107, 74%, 45%)
CMYKcmyk(58.3%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.74, -37.92, 38.70)
CIE-LCHlch(42.74, 54.18, 134.42°)
OKLaboklab(49.38% -0.1041 0.088)
OKLCHoklch(49.38% 0.136 139.8)
XYZxyz(7.5837, 12.9829, 3.3344)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30731E #611E73
analogous
#5A731E #30731E #1E7336
triadic
#30731E #1E3073 #731E30
tetradic
#30731E #1E5A73 #611E73 #73361E
square
#30731E #1E5A73 #611E73 #73361E
split-complementary
#30731E #361E73 #731E5A
monochromatic
#0A1806 #1C4211 #30731E #44A42B #5DCD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30731E#FFFFFF#000000##FFFFFF
##30731E1.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)
#766810
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#286F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #30731e;
/* rgb */ color: rgb(48, 115, 30);
/* oklch */ color: oklch(49.4% 0.136 139.8);
Tailwind
colors: {
  custom: {
    50: '#709c5f',
    500: '#30731e',
    950: '#000000',
  },
}
SCSS
$custom: #30731e;
$custom-light: #709c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#30731e",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 107.294,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.13631,
    "h": 139.8
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#30731E
secondary
#9246A7
accent
#46E2C1
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30731E

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

Preview Lab → · Contrast checker → · Palette generator →

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