#71851B#71851B

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

Color values

HEX#71851B
RGBrgb(113, 133, 27)
HSLhsl(71, 66%, 31%)
HSVhsv(71, 80%, 52%)
CMYKcmyk(15%, 0%, 79.7%, 47.8%)
CIE-LABlab(52.25, -21.61, 50.33)
CIE-LCHlch(52.25, 54.77, 113.24°)
OKLaboklab(58.1% -0.0643 0.1105)
OKLCHoklch(58.1% 0.128 120.2)
XYZxyz(15.3957, 20.3650, 4.1565)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71851B #2F1B85
analogous
#85641B #71851B #3C851B
triadic
#71851B #1B7185 #851B71
tetradic
#71851B #1B8564 #2F1B85 #851B3C
square
#71851B #1B8564 #2F1B85 #851B3C
split-complementary
#71851B #1B3C85 #641B85
monochromatic
#1B1F06 #465211 #71851B #9CB825 #BCD942

Accessibility & contrast

On white

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

On black

5.07
#71851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71851B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71851B#FFFFFF#000000##000000
##71851B1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#787E71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #71851b;
/* rgb */ color: rgb(113, 133, 27);
/* oklch */ color: oklch(58.1% 0.128 120.2);
Tailwind
colors: {
  custom: {
    50: '#9da861',
    500: '#71851b',
    950: '#000000',
  },
}
SCSS
$custom: #71851b;
$custom-light: #9da861;
$custom-dark: #000000;
JSON
{
  "hex": "#71851b",
  "rgb": {
    "r": 113,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 71.321,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.12783,
    "h": 120.2
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#71851B
secondary
#5A44B8
accent
#3FE95F
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #71851B

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

Preview Lab → · Contrast checker → · Palette generator →

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