#30801F#30801F

#30801F is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.152 H 140.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#30801F
RGBrgb(48, 128, 31)
HSLhsl(109, 61%, 31%)
HSVhsv(109, 76%, 50%)
CMYKcmyk(62.5%, 0%, 75.8%, 49.8%)
CIE-LABlab(47.19, -42.92, 42.84)
CIE-LCHlch(47.19, 60.64, 135.06°)
OKLaboklab(53.06% -0.1176 0.0968)
OKLCHoklch(53.06% 0.152 140.5)
XYZxyz(9.1850, 16.1648, 3.9321)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30801F #6F1F80
analogous
#60801F #30801F #1F803E
triadic
#30801F #1F3080 #801F30
tetradic
#30801F #1F6080 #6F1F80 #803E1F
square
#30801F #1F6080 #6F1F80 #803E1F
split-complementary
#30801F #3E1F80 #801F60
monochromatic
#0B1D07 #1E4F13 #30801F #42B12B #5FD247

Accessibility & contrast

On white

4.96
#30801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30801F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30801F#FFFFFF#000000##FFFFFF
##30801F1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740D
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#257C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #30801f;
/* rgb */ color: rgb(48, 128, 31);
/* oklch */ color: oklch(53.1% 0.152 140.5);
Tailwind
colors: {
  custom: {
    50: '#73a662',
    500: '#30801f',
    950: '#000000',
  },
}
SCSS
$custom: #30801f;
$custom-light: #73a662;
$custom-dark: #000000;
JSON
{
  "hex": "#30801f",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 109.485,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.15226,
    "h": 140.5
  },
  "luminance": 0.16166
}

Semantic roles & 50–950 ramp

primary
#30801F
secondary
#A048B3
accent
#44E4C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #30801F

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

Preview Lab → · Contrast checker → · Palette generator →

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