#30721F#30721F

#30721F is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.134 H 139.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#30721F
RGBrgb(48, 114, 31)
HSLhsl(108, 57%, 28%)
HSVhsv(108, 73%, 45%)
CMYKcmyk(57.9%, 0%, 72.8%, 55.3%)
CIE-LABlab(42.40, -37.43, 37.93)
CIE-LCHlch(42.40, 53.29, 134.62°)
OKLaboklab(49.1% -0.1027 0.0865)
OKLCHoklch(49.1% 0.134 139.9)
XYZxyz(7.4832, 12.7613, 3.3649)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30721F #611F72
analogous
#59721F #30721F #1F7237
triadic
#30721F #1F3072 #721F30
tetradic
#30721F #1F5972 #611F72 #72371F
square
#30721F #1F5972 #611F72 #72371F
split-complementary
#30721F #371F72 #721F59
monochromatic
#0A1807 #1C4212 #30721F #44A22C #5DCB40

Accessibility & contrast

On white

5.91
#30721F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#30721F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30721F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30721F#FFFFFF#000000##FFFFFF
##30721F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756812
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#296E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #30721f;
/* rgb */ color: rgb(48, 114, 31);
/* oklch */ color: oklch(49.1% 0.134 139.9);
Tailwind
colors: {
  custom: {
    50: '#709b60',
    500: '#30721f',
    950: '#000000',
  },
}
SCSS
$custom: #30721f;
$custom-light: #709b60;
$custom-dark: #000000;
JSON
{
  "hex": "#30721f",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 107.711,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49102,
    "c": 0.13429,
    "h": 139.9
  },
  "luminance": 0.12762
}

Semantic roles & 50–950 ramp

primary
#30721F
secondary
#9247A6
accent
#47E0C1
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30721F

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

Preview Lab → · Contrast checker → · Palette generator →

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