#71831C#71831C

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

Color values

HEX#71831C
RGBrgb(113, 131, 28)
HSLhsl(70, 65%, 31%)
HSVhsv(70, 79%, 51%)
CMYKcmyk(13.7%, 0%, 78.6%, 48.6%)
CIE-LABlab(51.64, -20.54, 49.44)
CIE-LCHlch(51.64, 53.53, 112.56°)
OKLaboklab(57.61% -0.0613 0.1088)
OKLCHoklch(57.61% 0.125 119.4)
XYZxyz(15.1363, 19.8272, 4.1280)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71831C #2E1C83
analogous
#83611C #71831C #3D831C
triadic
#71831C #1C7183 #831C71
tetradic
#71831C #1C8361 #2E1C83 #831C3D
square
#71831C #1C8361 #2E1C83 #831C3D
split-complementary
#71831C #1C3D83 #611C83
monochromatic
#1A1E06 #465111 #71831C #9CB527 #BDD743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71831C#FFFFFF#000000##000000
##71831C1.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)
#8C7B02
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#787C70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #71831c;
/* rgb */ color: rgb(113, 131, 28);
/* oklch */ color: oklch(57.6% 0.125 119.4);
Tailwind
colors: {
  custom: {
    50: '#9da761',
    500: '#71831c',
    950: '#000000',
  },
}
SCSS
$custom: #71831c;
$custom-light: #9da761;
$custom-dark: #000000;
JSON
{
  "hex": "#71831c",
  "rgb": {
    "r": 113,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 70.485,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57611,
    "c": 0.12484,
    "h": 119.4
  },
  "luminance": 0.19827
}

Semantic roles & 50–950 ramp

primary
#71831C
secondary
#5845B6
accent
#40E85D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #71831C

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

Preview Lab → · Contrast checker → · Palette generator →

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