#71831D#71831D

#71831D is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.6% C 0.124 H 119.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#71831D
RGBrgb(113, 131, 29)
HSLhsl(71, 64%, 31%)
HSVhsv(71, 78%, 51%)
CMYKcmyk(13.7%, 0%, 77.9%, 48.6%)
CIE-LABlab(51.65, -20.49, 49.10)
CIE-LCHlch(51.65, 53.20, 112.65°)
OKLaboklab(57.62% -0.0611 0.1082)
OKLCHoklch(57.62% 0.124 119.4)
XYZxyz(15.1484, 19.8321, 4.1921)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71831D #2F1D83
analogous
#83621D #71831D #3E831D
triadic
#71831D #1D7183 #831D71
tetradic
#71831D #1D8362 #2F1D83 #831D3E
square
#71831D #1D8362 #2F1D83 #831D3E
split-complementary
#71831D #1D3E83 #621D83
monochromatic
#1B1F07 #465112 #71831D #9CB528 #BCD645

Accessibility & contrast

On white

4.23
#71831D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#71831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71831D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71831D#FFFFFF#000000##000000
##71831D1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B04
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#787C70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #71831d;
/* rgb */ color: rgb(113, 131, 29);
/* oklch */ color: oklch(57.6% 0.124 119.4);
Tailwind
colors: {
  custom: {
    50: '#9da762',
    500: '#71831d',
    950: '#000000',
  },
}
SCSS
$custom: #71831d;
$custom-light: #9da762;
$custom-dark: #000000;
JSON
{
  "hex": "#71831d",
  "rgb": {
    "r": 113,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 70.588,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.12427,
    "h": 119.4
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

primary
#71831D
secondary
#5A46B6
accent
#41E75E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #71831D

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

Preview Lab → · Contrast checker → · Palette generator →

#71831D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva