#71842B#71842B

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

Color values

HEX#71842B
RGBrgb(113, 132, 43)
HSLhsl(73, 51%, 34%)
HSVhsv(73, 67%, 52%)
CMYKcmyk(14.4%, 0%, 67.4%, 48.2%)
CIE-LABlab(52.05, -20.16, 44.00)
CIE-LCHlch(52.05, 48.40, 114.61°)
OKLaboklab(57.97% -0.0588 0.0999)
OKLCHoklch(57.97% 0.116 120.5)
XYZxyz(15.4976, 20.1877, 5.3652)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71842B #3E2B84
analogous
#846B2B #71842B #45842B
triadic
#71842B #2B7184 #842B71
tetradic
#71842B #2B846B #3E2B84 #842B45
square
#71842B #2B846B #3E2B84 #842B45
split-complementary
#71842B #2B4584 #6B2B84
monochromatic
#22280D #49561C #71842B #99B23A #B4CB5F

Accessibility & contrast

On white

4.17
#71842B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##71842B#FFFFFF#000000##000000
##71842B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71842b;
/* rgb */ color: rgb(113, 132, 43);
/* oklch */ color: oklch(58.0% 0.116 120.5);
Tailwind
colors: {
  custom: {
    50: '#9ca769',
    500: '#71842b',
    950: '#000000',
  },
}
SCSS
$custom: #71842b;
$custom-light: #9ca769;
$custom-dark: #000000;
JSON
{
  "hex": "#71842b",
  "rgb": {
    "r": 113,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 72.809,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.1159,
    "h": 120.5
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#71842B
secondary
#6D5AB1
accent
#4DDA6C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #71842B

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

Preview Lab → · Contrast checker → · Palette generator →

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