#30721C#30721C

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

Color values

HEX#30721C
RGBrgb(48, 114, 28)
HSLhsl(106, 61%, 28%)
HSVhsv(106, 75%, 45%)
CMYKcmyk(57.9%, 0%, 75.4%, 55.3%)
CIE-LABlab(42.38, -37.69, 39.15)
CIE-LCHlch(42.38, 54.35, 133.91°)
OKLaboklab(49.08% -0.1036 0.0886)
OKLCHoklch(49.08% 0.136 139.5)
XYZxyz(7.4455, 12.7462, 3.1663)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30721C #5E1C72
analogous
#5B721C #30721C #1C7233
triadic
#30721C #1C3072 #721C30
tetradic
#30721C #1C5B72 #5E1C72 #72331C
square
#30721C #1C5B72 #5E1C72 #72331C
split-complementary
#30721C #331C72 #721C5B
monochromatic
#0A1906 #1B4110 #30721C #45A328 #5CCF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30721C#FFFFFF#000000##FFFFFF
##30721C1.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)
#75670D
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#296E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #30721c;
/* rgb */ color: rgb(48, 114, 28);
/* oklch */ color: oklch(49.1% 0.136 139.5);
Tailwind
colors: {
  custom: {
    50: '#709b5e',
    500: '#30721c',
    950: '#000000',
  },
}
SCSS
$custom: #30721c;
$custom-light: #709b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#30721c",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 28
  },
  "hsl": {
    "h": 106.047,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49075,
    "c": 0.13636,
    "h": 139.5
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#30721C
secondary
#8F43A6
accent
#44E4BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #30721C

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

Preview Lab → · Contrast checker → · Palette generator →

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