#71851F#71851F

#71851F is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 58.1% C 0.126 H 120.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#71851F
RGBrgb(113, 133, 31)
HSLhsl(72, 62%, 32%)
HSVhsv(72, 77%, 52%)
CMYKcmyk(15%, 0%, 76.7%, 47.8%)
CIE-LABlab(52.27, -21.42, 48.99)
CIE-LCHlch(52.27, 53.46, 113.61°)
OKLaboklab(58.12% -0.0634 0.1084)
OKLCHoklch(58.12% 0.126 120.3)
XYZxyz(15.4452, 20.3847, 4.4170)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71851F #331F85
analogous
#85661F #71851F #3E851F
triadic
#71851F #1F7185 #851F71
tetradic
#71851F #1F8566 #331F85 #851F3E
square
#71851F #1F8566 #331F85 #851F3E
split-complementary
#71851F #1F3E85 #661F85
monochromatic
#1D2208 #475313 #71851F #9BB72B #B9D54A

Accessibility & contrast

On white

4.14
#71851F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#71851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71851F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71851F#FFFFFF#000000##000000
##71851F1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D08
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#787E72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #71851f;
/* rgb */ color: rgb(113, 133, 31);
/* oklch */ color: oklch(58.1% 0.126 120.3);
Tailwind
colors: {
  custom: {
    50: '#9da863',
    500: '#71851f',
    950: '#000000',
  },
}
SCSS
$custom: #71851f;
$custom-light: #9da863;
$custom-dark: #000000;
JSON
{
  "hex": "#71851f",
  "rgb": {
    "r": 113,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 71.765,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58122,
    "c": 0.12555,
    "h": 120.3
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#71851F
secondary
#5E49B7
accent
#43E562
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #71851F

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

Preview Lab → · Contrast checker → · Palette generator →

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