#72871A#72871A

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

Color values

HEX#72871A
RGBrgb(114, 135, 26)
HSLhsl(72, 68%, 32%)
HSVhsv(72, 81%, 53%)
CMYKcmyk(15.6%, 0%, 80.7%, 47.1%)
CIE-LABlab(52.93, -22.24, 51.29)
CIE-LCHlch(52.93, 55.91, 113.44°)
OKLaboklab(58.66% -0.0662 0.1123)
OKLCHoklch(58.66% 0.13 120.5)
XYZxyz(15.7902, 20.9800, 4.1948)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72871A #2F1A87
analogous
#87661A #72871A #3B871A
triadic
#72871A #1A7287 #871A72
tetradic
#72871A #1A8766 #2F1A87 #871A3B
square
#72871A #1A8766 #2F1A87 #871A3B
split-complementary
#72871A #1A3B87 #661A87
monochromatic
#1B2006 #475410 #72871A #9DBA24 #BDDA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##72871A#FFFFFF#000000##000000
##72871A1.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)
#907F00
Deuteranopia (green-blind)
#8D7F25
Tritanopia (blue-blind)
#797F73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #72871a;
/* rgb */ color: rgb(114, 135, 26);
/* oklch */ color: oklch(58.7% 0.130 120.5);
Tailwind
colors: {
  custom: {
    50: '#9eaa61',
    500: '#72871a',
    950: '#000000',
  },
}
SCSS
$custom: #72871a;
$custom-light: #9eaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#72871a",
  "rgb": {
    "r": 114,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 71.56,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.13034,
    "h": 120.5
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

primary
#72871A
secondary
#5A42BA
accent
#3DEB5F
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #72871A

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

Preview Lab → · Contrast checker → · Palette generator →

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