#72871D#72871D

#72871D is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.7% C 0.129 H 120.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#72871D
RGBrgb(114, 135, 29)
HSLhsl(72, 65%, 32%)
HSVhsv(72, 79%, 53%)
CMYKcmyk(15.6%, 0%, 78.5%, 47.1%)
CIE-LABlab(52.94, -22.10, 50.34)
CIE-LCHlch(52.94, 54.97, 113.70°)
OKLaboklab(58.68% -0.0655 0.1108)
OKLCHoklch(58.68% 0.129 120.6)
XYZxyz(15.8255, 20.9941, 4.3807)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72871D #321D87
analogous
#87671D #72871D #3D871D
triadic
#72871D #1D7287 #871D72
tetradic
#72871D #1D8767 #321D87 #871D3D
square
#72871D #1D8767 #321D87 #871D3D
split-complementary
#72871D #1D3D87 #671D87
monochromatic
#1D2207 #475512 #72871D #9DB928 #BBD747

Accessibility & contrast

On white

4.04
#72871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#72871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #72871D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72871D#FFFFFF#000000##000000
##72871D1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F02
Deuteranopia (green-blind)
#8D7F27
Tritanopia (blue-blind)
#798073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #72871d;
/* rgb */ color: rgb(114, 135, 29);
/* oklch */ color: oklch(58.7% 0.129 120.6);
Tailwind
colors: {
  custom: {
    50: '#9eaa62',
    500: '#72871d',
    950: '#000000',
  },
}
SCSS
$custom: #72871d;
$custom-light: #9eaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#72871d",
  "rgb": {
    "r": 114,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 71.887,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5868,
    "c": 0.12874,
    "h": 120.6
  },
  "luminance": 0.20994
}

Semantic roles & 50–950 ramp

primary
#72871D
secondary
#5D46B9
accent
#40E861
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #72871D

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

Preview Lab → · Contrast checker → · Palette generator →

#72871D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva