#72871E#72871E

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

Color values

HEX#72871E
RGBrgb(114, 135, 30)
HSLhsl(72, 64%, 32%)
HSVhsv(72, 78%, 53%)
CMYKcmyk(15.6%, 0%, 77.8%, 47.1%)
CIE-LABlab(52.95, -22.05, 50.00)
CIE-LCHlch(52.95, 54.65, 113.80°)
OKLaboklab(58.69% -0.0653 0.1103)
OKLCHoklch(58.69% 0.128 120.6)
XYZxyz(15.8380, 20.9991, 4.4469)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72871E #331E87
analogous
#87681E #72871E #3E871E
triadic
#72871E #1E7287 #871E72
tetradic
#72871E #1E8768 #331E87 #871E3E
square
#72871E #1E8768 #331E87 #871E3E
split-complementary
#72871E #1E3E87 #681E87
monochromatic
#1D2308 #485513 #72871E #9CB929 #BAD749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##72871E#FFFFFF#000000##000000
##72871E1.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)
#907F04
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#798073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #72871e;
/* rgb */ color: rgb(114, 135, 30);
/* oklch */ color: oklch(58.7% 0.128 120.6);
Tailwind
colors: {
  custom: {
    50: '#9eaa63',
    500: '#72871e',
    950: '#000000',
  },
}
SCSS
$custom: #72871e;
$custom-light: #9eaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#72871e",
  "rgb": {
    "r": 114,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 72,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58687,
    "c": 0.12818,
    "h": 120.6
  },
  "luminance": 0.20999
}

Semantic roles & 50–950 ramp

primary
#72871E
secondary
#5F48B9
accent
#41E762
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #72871E

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

Preview Lab → · Contrast checker → · Palette generator →

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