#72871F#72871F

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

Color values

HEX#72871F
RGBrgb(114, 135, 31)
HSLhsl(72, 63%, 33%)
HSVhsv(72, 77%, 53%)
CMYKcmyk(15.6%, 0%, 77%, 47.1%)
CIE-LABlab(52.95, -22.00, 49.66)
CIE-LCHlch(52.95, 54.32, 113.89°)
OKLaboklab(58.69% -0.0651 0.1098)
OKLCHoklch(58.69% 0.128 120.7)
XYZxyz(15.8510, 21.0043, 4.5152)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72871F #341F87
analogous
#87681F #72871F #3E871F
triadic
#72871F #1F7287 #871F72
tetradic
#72871F #1F8768 #341F87 #871F3E
square
#72871F #1F8768 #341F87 #871F3E
split-complementary
#72871F #1F3E87 #681F87
monochromatic
#1E2308 #485514 #72871F #9CB92A #BAD64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #72871f;
/* rgb */ color: rgb(114, 135, 31);
/* oklch */ color: oklch(58.7% 0.128 120.7);
Tailwind
colors: {
  custom: {
    50: '#9eaa63',
    500: '#72871f',
    950: '#000000',
  },
}
SCSS
$custom: #72871f;
$custom-light: #9eaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#72871f",
  "rgb": {
    "r": 114,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 72.115,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58693,
    "c": 0.1276,
    "h": 120.7
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#72871F
secondary
#604AB8
accent
#42E663
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #72871F

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

Preview Lab → · Contrast checker → · Palette generator →

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