#30841E#30841E

#30841E is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.158 H 140.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#30841E
RGBrgb(48, 132, 30)
HSLhsl(109, 63%, 32%)
HSVhsv(109, 77%, 52%)
CMYKcmyk(63.6%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.54, -44.50, 44.56)
CIE-LCHlch(48.54, 62.98, 134.96°)
OKLaboklab(54.17% -0.1219 0.1002)
OKLCHoklch(54.17% 0.158 140.6)
XYZxyz(9.7041, 17.2237, 4.0412)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30841E #721E84
analogous
#63841E #30841E #1E843F
triadic
#30841E #1E3084 #841E30
tetradic
#30841E #1E6384 #721E84 #843F1E
square
#30841E #1E6384 #721E84 #843F1E
split-complementary
#30841E #3F1E84 #841E63
monochromatic
#0C2007 #1E5213 #30841E #42B629 #60D547

Accessibility & contrast

On white

4.72
#30841E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#30841E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30841E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30841E#FFFFFF#000000##FFFFFF
##30841E1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887708
Deuteranopia (green-blind)
#7D7129
Tritanopia (blue-blind)
#238071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #30841e;
/* rgb */ color: rgb(48, 132, 30);
/* oklch */ color: oklch(54.2% 0.158 140.6);
Tailwind
colors: {
  custom: {
    50: '#74a962',
    500: '#30841e',
    950: '#000000',
  },
}
SCSS
$custom: #30841e;
$custom-light: #74a962;
$custom-dark: #000000;
JSON
{
  "hex": "#30841e",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 109.412,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.15779,
    "h": 140.6
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#30841E
secondary
#A347B7
accent
#42E6C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #30841E

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

Preview Lab → · Contrast checker → · Palette generator →

#30841E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva