#71842F#71842F

#71842F is a mid, moderate yellow-green. Relative luminance 0.202; OKLCH L 58.0% C 0.113 H 120.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#71842F
RGBrgb(113, 132, 47)
HSLhsl(73, 47%, 35%)
HSVhsv(73, 64%, 52%)
CMYKcmyk(14.4%, 0%, 64.4%, 48.2%)
CIE-LABlab(52.08, -19.85, 42.26)
CIE-LCHlch(52.08, 46.69, 115.17°)
OKLaboklab(58.01% -0.0575 0.0968)
OKLCHoklch(58.01% 0.113 120.7)
XYZxyz(15.5746, 20.2185, 5.7708)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71842F #422F84
analogous
#846D2F #71842F #46842F
triadic
#71842F #2F7184 #842F71
tetradic
#71842F #2F846D #422F84 #842F46
square
#71842F #2F846D #422F84 #842F46
split-complementary
#71842F #2F4684 #6D2F84
monochromatic
#242A0F #4A571F #71842F #98B13F #B2C865

Accessibility & contrast

On white

4.16
#71842F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#71842F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71842F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71842F#FFFFFF#000000##000000
##71842F1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C25
Deuteranopia (green-blind)
#8A7C35
Tritanopia (blue-blind)
#777D72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #71842f;
/* rgb */ color: rgb(113, 132, 47);
/* oklch */ color: oklch(58.0% 0.113 120.7);
Tailwind
colors: {
  custom: {
    50: '#9ca76c',
    500: '#71842f',
    950: '#000000',
  },
}
SCSS
$custom: #71842f;
$custom-light: #9ca76c;
$custom-dark: #000000;
JSON
{
  "hex": "#71842f",
  "rgb": {
    "r": 113,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 73.412,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.1126,
    "h": 120.7
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#71842F
secondary
#7160AF
accent
#51D76F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #71842F

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

Preview Lab → · Contrast checker → · Palette generator →

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