#71821F#71821F

#71821F is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.4% C 0.122 H 119.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#71821F
RGBrgb(113, 130, 31)
HSLhsl(70, 61%, 32%)
HSVhsv(70, 76%, 51%)
CMYKcmyk(13.1%, 0%, 76.2%, 49%)
CIE-LABlab(51.35, -19.87, 48.11)
CIE-LCHlch(51.35, 52.06, 112.44°)
OKLaboklab(57.38% -0.0592 0.1065)
OKLCHoklch(57.38% 0.122 119.1)
XYZxyz(15.0403, 19.5750, 4.2821)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71821F #301F82
analogous
#82621F #71821F #40821F
triadic
#71821F #1F7182 #821F71
tetradic
#71821F #1F8262 #301F82 #821F40
square
#71821F #1F8262 #301F82 #821F40
split-complementary
#71821F #1F4082 #621F82
monochromatic
#1B1F07 #465113 #71821F #9CB32B #BBD348

Accessibility & contrast

On white

4.27
#71821F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#71821F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71821F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71821F#FFFFFF#000000##000000
##71821F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0A
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#787B6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #71821f;
/* rgb */ color: rgb(113, 130, 31);
/* oklch */ color: oklch(57.4% 0.122 119.1);
Tailwind
colors: {
  custom: {
    50: '#9da663',
    500: '#71821f',
    950: '#000000',
  },
}
SCSS
$custom: #71821f;
$custom-light: #9da663;
$custom-dark: #000000;
JSON
{
  "hex": "#71821f",
  "rgb": {
    "r": 113,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 70.303,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57384,
    "c": 0.12186,
    "h": 119.1
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#71821F
secondary
#5B48B5
accent
#43E55F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #71821F

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

Preview Lab → · Contrast checker → · Palette generator →

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