#79872F#79872F

#79872F is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.113 H 117.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#79872F
RGBrgb(121, 135, 47)
HSLhsl(70, 48%, 36%)
HSVhsv(70, 65%, 53%)
CMYKcmyk(10.4%, 0%, 65.2%, 47.1%)
CIE-LABlab(53.60, -17.93, 44.06)
CIE-LCHlch(53.60, 47.57, 112.15°)
OKLaboklab(59.38% -0.0527 0.1004)
OKLCHoklch(59.38% 0.113 117.7)
XYZxyz(17.0625, 21.5983, 5.9588)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79872F #3D2F87
analogous
#87692F #79872F #4D872F
triadic
#79872F #2F7987 #872F79
tetradic
#79872F #2F8769 #3D2F87 #872F4D
square
#79872F #2F8769 #3D2F87 #872F4D
split-complementary
#79872F #2F4D87 #692F87
monochromatic
#282C0F #505A1F #79872F #A2B43F #BACA66

Accessibility & contrast

On white

3.95
#79872F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#79872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79872F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79872F#FFFFFF#000000##000000
##79872F1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#8E8135
Tritanopia (blue-blind)
#808075
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #79872f;
/* rgb */ color: rgb(121, 135, 47);
/* oklch */ color: oklch(59.4% 0.113 117.7);
Tailwind
colors: {
  custom: {
    50: '#a2a96c',
    500: '#79872f',
    950: '#000000',
  },
}
SCSS
$custom: #79872f;
$custom-light: #a2a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#79872f",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 69.545,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59381,
    "c": 0.11341,
    "h": 117.7
  },
  "luminance": 0.21598
}

Semantic roles & 50–950 ramp

primary
#79872F
secondary
#6E61B1
accent
#50D866
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #79872F

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

Preview Lab → · Contrast checker → · Palette generator →

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