#71831F#71831F

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

Color values

HEX#71831F
RGBrgb(113, 131, 31)
HSLhsl(71, 62%, 32%)
HSVhsv(71, 76%, 51%)
CMYKcmyk(13.7%, 0%, 76.3%, 48.6%)
CIE-LABlab(51.66, -20.39, 48.40)
CIE-LCHlch(51.66, 52.52, 112.84°)
OKLaboklab(57.63% -0.0606 0.1071)
OKLCHoklch(57.63% 0.123 119.5)
XYZxyz(15.1740, 19.8423, 4.3266)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71831F #311F83
analogous
#83631F #71831F #3F831F
triadic
#71831F #1F7183 #831F71
tetradic
#71831F #1F8363 #311F83 #831F3F
square
#71831F #1F8363 #311F83 #831F3F
split-complementary
#71831F #1F3F83 #631F83
monochromatic
#1C2008 #465213 #71831F #9CB42B #BBD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71831F#FFFFFF#000000##000000
##71831F1.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)
#8C7B09
Deuteranopia (green-blind)
#8A7B28
Tritanopia (blue-blind)
#787C70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #71831f;
/* rgb */ color: rgb(113, 131, 31);
/* oklch */ color: oklch(57.6% 0.123 119.5);
Tailwind
colors: {
  custom: {
    50: '#9da763',
    500: '#71831f',
    950: '#000000',
  },
}
SCSS
$custom: #71831f;
$custom-light: #9da763;
$custom-dark: #000000;
JSON
{
  "hex": "#71831f",
  "rgb": {
    "r": 113,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 70.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5763,
    "c": 0.12308,
    "h": 119.5
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#71831F
secondary
#5C48B6
accent
#43E560
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #71831F

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

Preview Lab → · Contrast checker → · Palette generator →

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