#71841B#71841B

#71841B is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.9% C 0.127 H 119.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#71841B
RGBrgb(113, 132, 27)
HSLhsl(71, 66%, 31%)
HSVhsv(71, 80%, 52%)
CMYKcmyk(14.4%, 0%, 79.5%, 48.2%)
CIE-LABlab(51.94, -21.10, 50.05)
CIE-LCHlch(51.94, 54.31, 112.86°)
OKLaboklab(57.85% -0.0629 0.1099)
OKLCHoklch(57.85% 0.127 119.8)
XYZxyz(15.2595, 20.0924, 4.1110)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71841B #2E1B84
analogous
#84621B #71841B #3C841B
triadic
#71841B #1B7184 #841B71
tetradic
#71841B #1B8462 #2E1B84 #841B3C
square
#71841B #1B8462 #2E1B84 #841B3C
split-complementary
#71841B #1B3C84 #621B84
monochromatic
#1A1E06 #465111 #71841B #9CB725 #BDD841

Accessibility & contrast

On white

4.18
#71841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#71841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71841B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71841B#FFFFFF#000000##000000
##71841B1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#787D71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #71841b;
/* rgb */ color: rgb(113, 132, 27);
/* oklch */ color: oklch(57.9% 0.127 119.8);
Tailwind
colors: {
  custom: {
    50: '#9da761',
    500: '#71841b',
    950: '#000000',
  },
}
SCSS
$custom: #71841b;
$custom-light: #9da761;
$custom-dark: #000000;
JSON
{
  "hex": "#71841b",
  "rgb": {
    "r": 113,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 70.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.1266,
    "h": 119.8
  },
  "luminance": 0.20092
}

Semantic roles & 50–950 ramp

primary
#71841B
secondary
#5843B7
accent
#3FE95E
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #71841B

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

Preview Lab → · Contrast checker → · Palette generator →

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