#30841B#30841B

#30841B is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.159 H 140.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#30841B
RGBrgb(48, 132, 27)
HSLhsl(108, 66%, 31%)
HSVhsv(108, 80%, 52%)
CMYKcmyk(63.6%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.52, -44.72, 45.61)
CIE-LCHlch(48.52, 63.87, 134.43°)
OKLaboklab(54.15% -0.1226 0.1019)
OKLCHoklch(54.15% 0.159 140.3)
XYZxyz(9.6676, 17.2091, 3.8489)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30841B #6F1B84
analogous
#64841B #30841B #1B843A
triadic
#30841B #1B3084 #841B30
tetradic
#30841B #1B6484 #6F1B84 #843A1B
square
#30841B #1B6484 #6F1B84 #843A1B
split-complementary
#30841B #3A1B84 #841B64
monochromatic
#0B1E06 #1E5111 #30841B #42B725 #5FD841

Accessibility & contrast

On white

4.73
#30841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30841B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30841B#FFFFFF#000000##FFFFFF
##30841B1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887701
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#248070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #30841b;
/* rgb */ color: rgb(48, 132, 27);
/* oklch */ color: oklch(54.1% 0.159 140.3);
Tailwind
colors: {
  custom: {
    50: '#74a960',
    500: '#30841b',
    950: '#000000',
  },
}
SCSS
$custom: #30841b;
$custom-light: #74a960;
$custom-dark: #000000;
JSON
{
  "hex": "#30841b",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 108,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.15948,
    "h": 140.3
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#30841B
secondary
#A043B7
accent
#3FE9C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #30841B

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

Preview Lab → · Contrast checker → · Palette generator →

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