#30801B#30801B

#30801B is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.155 H 140.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#30801B
RGBrgb(48, 128, 27)
HSLhsl(108, 65%, 30%)
HSVhsv(108, 79%, 50%)
CMYKcmyk(62.5%, 0%, 78.9%, 49.8%)
CIE-LABlab(47.16, -43.22, 44.29)
CIE-LCHlch(47.16, 61.89, 134.30°)
OKLaboklab(53.03% -0.1186 0.0992)
OKLCHoklch(53.03% 0.155 140.1)
XYZxyz(9.1355, 16.1450, 3.6716)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30801B #6B1B80
analogous
#62801B #30801B #1B8039
triadic
#30801B #1B3080 #801B30
tetradic
#30801B #1B6280 #6B1B80 #80391B
square
#30801B #1B6280 #6B1B80 #80391B
split-complementary
#30801B #391B80 #801B62
monochromatic
#0A1B06 #1D4D10 #30801B #43B326 #5ED63F

Accessibility & contrast

On white

4.97
#30801B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#30801B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30801B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30801B#FFFFFF#000000##FFFFFF
##30801B1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847403
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#257C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #30801b;
/* rgb */ color: rgb(48, 128, 27);
/* oklch */ color: oklch(53.0% 0.155 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a660',
    500: '#30801b',
    950: '#000000',
  },
}
SCSS
$custom: #30801b;
$custom-light: #73a660;
$custom-dark: #000000;
JSON
{
  "hex": "#30801b",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 107.525,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53026,
    "c": 0.15463,
    "h": 140.1
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

primary
#30801B
secondary
#9C43B4
accent
#40E8C5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #30801B

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

Preview Lab → · Contrast checker → · Palette generator →

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