#30821F#30821F

#30821F is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.155 H 140.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#30821F
RGBrgb(48, 130, 31)
HSLhsl(110, 61%, 32%)
HSVhsv(110, 76%, 51%)
CMYKcmyk(63.1%, 0%, 76.2%, 49%)
CIE-LABlab(47.87, -43.68, 43.52)
CIE-LCHlch(47.87, 61.66, 135.10°)
OKLaboklab(53.62% -0.1196 0.0982)
OKLCHoklch(53.62% 0.155 140.6)
XYZxyz(9.4484, 16.6917, 4.0200)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30821F #711F82
analogous
#62821F #30821F #1F8240
triadic
#30821F #1F3082 #821F30
tetradic
#30821F #1F6282 #711F82 #82401F
square
#30821F #1F6282 #711F82 #82401F
split-complementary
#30821F #401F82 #821F62
monochromatic
#0C1F07 #1E5113 #30821F #42B32B #60D348

Accessibility & contrast

On white

4.84
#30821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#30821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30821F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30821F#FFFFFF#000000##FFFFFF
##30821F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#247E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #30821f;
/* rgb */ color: rgb(48, 130, 31);
/* oklch */ color: oklch(53.6% 0.155 140.6);
Tailwind
colors: {
  custom: {
    50: '#73a762',
    500: '#30821f',
    950: '#000000',
  },
}
SCSS
$custom: #30821f;
$custom-light: #73a762;
$custom-dark: #000000;
JSON
{
  "hex": "#30821f",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 109.697,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.15474,
    "h": 140.6
  },
  "luminance": 0.16693
}

Semantic roles & 50–950 ramp

primary
#30821F
secondary
#A248B5
accent
#43E5C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #30821F

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

Preview Lab → · Contrast checker → · Palette generator →

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