#71842A#71842A

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

Color values

HEX#71842A
RGBrgb(113, 132, 42)
HSLhsl(73, 52%, 34%)
HSVhsv(73, 68%, 52%)
CMYKcmyk(14.4%, 0%, 68.2%, 48.2%)
CIE-LABlab(52.04, -20.23, 44.43)
CIE-LCHlch(52.04, 48.81, 114.48°)
OKLaboklab(57.96% -0.0591 0.1006)
OKLCHoklch(57.96% 0.117 120.4)
XYZxyz(15.4795, 20.1804, 5.2698)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71842A #3D2A84
analogous
#846A2A #71842A #44842A
triadic
#71842A #2A7184 #842A71
tetradic
#71842A #2A846A #3D2A84 #842A44
square
#71842A #2A846A #3D2A84 #842A44
split-complementary
#71842A #2A4484 #6A2A84
monochromatic
#22270C #49561B #71842A #99B239 #B4CB5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71842A#FFFFFF#000000##000000
##71842A1.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)
#8C7C1D
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#777D72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #71842a;
/* rgb */ color: rgb(113, 132, 42);
/* oklch */ color: oklch(58.0% 0.117 120.4);
Tailwind
colors: {
  custom: {
    50: '#9ca769',
    500: '#71842a',
    950: '#000000',
  },
}
SCSS
$custom: #71842a;
$custom-light: #9ca769;
$custom-dark: #000000;
JSON
{
  "hex": "#71842a",
  "rgb": {
    "r": 113,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 72.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.11669,
    "h": 120.4
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#71842A
secondary
#6B59B1
accent
#4DDB6B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #71842A

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

Preview Lab → · Contrast checker → · Palette generator →

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