#30841F#30841F

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

Color values

HEX#30841F
RGBrgb(48, 132, 31)
HSLhsl(110, 62%, 32%)
HSVhsv(110, 77%, 52%)
CMYKcmyk(63.6%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.55, -44.43, 44.20)
CIE-LCHlch(48.55, 62.67, 135.15°)
OKLaboklab(54.18% -0.1216 0.0996)
OKLCHoklch(54.18% 0.157 140.7)
XYZxyz(9.7170, 17.2289, 4.1095)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30841F #731F84
analogous
#63841F #30841F #1F8441
triadic
#30841F #1F3084 #841F30
tetradic
#30841F #1F6384 #731F84 #84411F
square
#30841F #1F6384 #731F84 #84411F
split-complementary
#30841F #411F84 #841F63
monochromatic
#0C2108 #1E5213 #30841F #42B62B #61D449

Accessibility & contrast

On white

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

On black

4.45
#30841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##30841F#FFFFFF#000000##FFFFFF
##30841F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#7D712A
Tritanopia (blue-blind)
#238071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #30841f;
/* rgb */ color: rgb(48, 132, 31);
/* oklch */ color: oklch(54.2% 0.157 140.7);
Tailwind
colors: {
  custom: {
    50: '#74a962',
    500: '#30841f',
    950: '#000000',
  },
}
SCSS
$custom: #30841f;
$custom-light: #74a962;
$custom-dark: #000000;
JSON
{
  "hex": "#30841f",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 109.901,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.1572,
    "h": 140.7
  },
  "luminance": 0.1723
}

Semantic roles & 50–950 ramp

primary
#30841F
secondary
#A448B7
accent
#43E5CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #30841F

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

Preview Lab → · Contrast checker → · Palette generator →

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