#72871C#72871C

#72871C 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#72871C
RGBrgb(114, 135, 28)
HSLhsl(72, 66%, 32%)
HSVhsv(72, 79%, 53%)
CMYKcmyk(15.6%, 0%, 79.3%, 47.1%)
CIE-LABlab(52.94, -22.15, 50.66)
CIE-LCHlch(52.94, 55.29, 113.61°)
OKLaboklab(58.67% -0.0657 0.1113)
OKLCHoklch(58.67% 0.129 120.6)
XYZxyz(15.8133, 20.9892, 4.3166)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72871C #311C87
analogous
#87671C #72871C #3C871C
triadic
#72871C #1C7287 #871C72
tetradic
#72871C #1C8767 #311C87 #871C3C
square
#72871C #1C8767 #311C87 #871C3C
split-complementary
#72871C #1C3C87 #671C87
monochromatic
#1C2207 #475411 #72871C #9DBA27 #BBD845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##72871C#FFFFFF#000000##000000
##72871C1.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)
#8D7F26
Tritanopia (blue-blind)
#797F73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #72871c;
/* rgb */ color: rgb(114, 135, 28);
/* oklch */ color: oklch(58.7% 0.129 120.6);
Tailwind
colors: {
  custom: {
    50: '#9eaa62',
    500: '#72871c',
    950: '#000000',
  },
}
SCSS
$custom: #72871c;
$custom-light: #9eaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#72871c",
  "rgb": {
    "r": 114,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 71.776,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58674,
    "c": 0.1293,
    "h": 120.6
  },
  "luminance": 0.20989
}

Semantic roles & 50–950 ramp

primary
#72871C
secondary
#5C45BA
accent
#3FE960
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #72871C

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

Preview Lab → · Contrast checker → · Palette generator →

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