#30721B#30721B

#30721B is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.1% C 0.137 H 139.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#30721B
RGBrgb(48, 114, 27)
HSLhsl(106, 62%, 28%)
HSVhsv(106, 76%, 45%)
CMYKcmyk(57.9%, 0%, 76.3%, 55.3%)
CIE-LABlab(42.37, -37.77, 39.54)
CIE-LCHlch(42.37, 54.68, 133.69°)
OKLaboklab(49.07% -0.1039 0.0893)
OKLCHoklch(49.07% 0.137 139.3)
XYZxyz(7.4338, 12.7415, 3.1043)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30721B #5D1B72
analogous
#5C721B #30721B #1B7231
triadic
#30721B #1B3072 #721B30
tetradic
#30721B #1B5C72 #5D1B72 #72311B
square
#30721B #1B5C72 #5D1B72 #72311B
split-complementary
#30721B #311B72 #721B5C
monochromatic
#0A1906 #1B410F #30721B #45A327 #5CD038

Accessibility & contrast

On white

5.92
#30721B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30721B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30721B#FFFFFF#000000##FFFFFF
##30721B1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670B
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#296E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #30721b;
/* rgb */ color: rgb(48, 114, 27);
/* oklch */ color: oklch(49.1% 0.137 139.3);
Tailwind
colors: {
  custom: {
    50: '#709b5e',
    500: '#30721b',
    950: '#000000',
  },
}
SCSS
$custom: #30721b;
$custom-light: #709b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#30721b",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 105.517,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.13701,
    "h": 139.3
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#30721B
secondary
#8E42A7
accent
#43E5BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30721B

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

Preview Lab → · Contrast checker → · Palette generator →

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