#79872A#79872A

#79872A is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.3% C 0.117 H 117.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#79872A
RGBrgb(121, 135, 42)
HSLhsl(69, 53%, 35%)
HSVhsv(69, 69%, 53%)
CMYKcmyk(10.4%, 0%, 68.9%, 47.1%)
CIE-LABlab(53.56, -18.28, 46.18)
CIE-LCHlch(53.56, 49.67, 111.60°)
OKLaboklab(59.34% -0.0542 0.1041)
OKLCHoklch(59.34% 0.117 117.5)
XYZxyz(16.9674, 21.5602, 5.4577)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79872A #382A87
analogous
#87662A #79872A #4B872A
triadic
#79872A #2A7987 #872A79
tetradic
#79872A #2A8766 #382A87 #872A4B
square
#79872A #2A8766 #382A87 #872A4B
split-complementary
#79872A #2A4B87 #662A87
monochromatic
#252A0D #4F581B #79872A #A3B639 #BCCD5E

Accessibility & contrast

On white

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

On black

5.31
#79872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79872A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79872A#FFFFFF#000000##000000
##79872A1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801D
Deuteranopia (green-blind)
#8F8031
Tritanopia (blue-blind)
#807F74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #79872a;
/* rgb */ color: rgb(121, 135, 42);
/* oklch */ color: oklch(59.3% 0.117 117.5);
Tailwind
colors: {
  custom: {
    50: '#a2a969',
    500: '#79872a',
    950: '#000000',
  },
}
SCSS
$custom: #79872a;
$custom-light: #a2a969;
$custom-dark: #000000;
JSON
{
  "hex": "#79872a",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 69.032,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.11738,
    "h": 117.5
  },
  "luminance": 0.2156
}

Semantic roles & 50–950 ramp

primary
#79872A
secondary
#675AB3
accent
#4CDC62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #79872A

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

Preview Lab → · Contrast checker → · Palette generator →

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