#30841A#30841A

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

Color values

HEX#30841A
RGBrgb(48, 132, 26)
HSLhsl(108, 67%, 31%)
HSVhsv(108, 80%, 52%)
CMYKcmyk(63.6%, 0%, 80.3%, 48.2%)
CIE-LABlab(48.52, -44.78, 45.94)
CIE-LCHlch(48.52, 64.16, 134.27°)
OKLaboklab(54.14% -0.1229 0.1025)
OKLCHoklch(54.14% 0.16 140.2)
XYZxyz(9.6562, 17.2046, 3.7890)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30841A #6E1A84
analogous
#65841A #30841A #1A8439
triadic
#30841A #1A3084 #841A30
tetradic
#30841A #1A6584 #6E1A84 #84391A
square
#30841A #1A6584 #6E1A84 #84391A
split-complementary
#30841A #391A84 #841A65
monochromatic
#0B1E06 #1D5110 #30841A #43B724 #5FD93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30841A#FFFFFF#000000##FFFFFF
##30841A1.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)
#887700
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#247F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #30841a;
/* rgb */ color: rgb(48, 132, 26);
/* oklch */ color: oklch(54.1% 0.160 140.2);
Tailwind
colors: {
  custom: {
    50: '#74a960',
    500: '#30841a',
    950: '#000000',
  },
}
SCSS
$custom: #30841a;
$custom-light: #74a960;
$custom-dark: #000000;
JSON
{
  "hex": "#30841a",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 107.547,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.16001,
    "h": 140.2
  },
  "luminance": 0.17205
}

Semantic roles & 50–950 ramp

primary
#30841A
secondary
#9F42B8
accent
#3EEAC6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #30841A

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

Preview Lab → · Contrast checker → · Palette generator →

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