#30821B#30821B

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

Color values

HEX#30821B
RGBrgb(48, 130, 27)
HSLhsl(108, 66%, 31%)
HSVhsv(108, 79%, 51%)
CMYKcmyk(63.1%, 0%, 79.2%, 49%)
CIE-LABlab(47.84, -43.97, 44.95)
CIE-LCHlch(47.84, 62.88, 134.37°)
OKLaboklab(53.59% -0.1206 0.1006)
OKLCHoklch(53.59% 0.157 140.2)
XYZxyz(9.3989, 16.6719, 3.7594)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30821B #6D1B82
analogous
#63821B #30821B #1B8239
triadic
#30821B #1B3082 #821B30
tetradic
#30821B #1B6382 #6D1B82 #82391B
square
#30821B #1B6382 #6D1B82 #82391B
split-complementary
#30821B #391B82 #821B63
monochromatic
#0B1D06 #1D4F10 #30821B #43B526 #5FD740

Accessibility & contrast

On white

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

On black

4.33
#30821B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##30821B#FFFFFF#000000##FFFFFF
##30821B1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#247E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #30821b;
/* rgb */ color: rgb(48, 130, 27);
/* oklch */ color: oklch(53.6% 0.157 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a760',
    500: '#30821b',
    950: '#000000',
  },
}
SCSS
$custom: #30821b;
$custom-light: #73a760;
$custom-dark: #000000;
JSON
{
  "hex": "#30821b",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 107.767,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53588,
    "c": 0.15706,
    "h": 140.2
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#30821B
secondary
#9E43B6
accent
#3FE9C6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #30821B

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

Preview Lab → · Contrast checker → · Palette generator →

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