#72871B#72871B

#72871B 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#72871B
RGBrgb(114, 135, 27)
HSLhsl(72, 67%, 32%)
HSVhsv(72, 80%, 53%)
CMYKcmyk(15.6%, 0%, 80%, 47.1%)
CIE-LABlab(52.93, -22.19, 50.98)
CIE-LCHlch(52.93, 55.60, 113.52°)
OKLaboklab(58.67% -0.066 0.1118)
OKLCHoklch(58.67% 0.13 120.5)
XYZxyz(15.8015, 20.9845, 4.2547)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72871B #301B87
analogous
#87661B #72871B #3C871B
triadic
#72871B #1B7287 #871B72
tetradic
#72871B #1B8766 #301B87 #871B3C
square
#72871B #1B8766 #301B87 #871B3C
split-complementary
#72871B #1B3C87 #661B87
monochromatic
#1C2107 #475411 #72871B #9DBA25 #BCD943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##72871B#FFFFFF#000000##000000
##72871B1.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: #72871b;
/* rgb */ color: rgb(114, 135, 27);
/* oklch */ color: oklch(58.7% 0.130 120.5);
Tailwind
colors: {
  custom: {
    50: '#9eaa62',
    500: '#72871b',
    950: '#000000',
  },
}
SCSS
$custom: #72871b;
$custom-light: #9eaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#72871b",
  "rgb": {
    "r": 114,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 71.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58669,
    "c": 0.12982,
    "h": 120.5
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#72871B
secondary
#5B44BA
accent
#3EEA60
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #72871B

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

Preview Lab → · Contrast checker → · Palette generator →

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