#79872C#79872C

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

Color values

HEX#79872C
RGBrgb(121, 135, 44)
HSLhsl(69, 51%, 35%)
HSVhsv(69, 67%, 53%)
CMYKcmyk(10.4%, 0%, 67.4%, 47.1%)
CIE-LABlab(53.57, -18.15, 45.35)
CIE-LCHlch(53.57, 48.85, 111.81°)
OKLaboklab(59.35% -0.0536 0.1027)
OKLCHoklch(59.35% 0.116 117.6)
XYZxyz(17.0041, 21.5749, 5.6510)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79872C #3A2C87
analogous
#87682C #79872C #4B872C
triadic
#79872C #2C7987 #872C79
tetradic
#79872C #2C8768 #3A2C87 #872C4B
square
#79872C #2C8768 #3A2C87 #872C4B
split-complementary
#79872C #2C4B87 #682C87
monochromatic
#262B0E #50591D #79872C #A2B53B #BBCC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79872C#FFFFFF#000000##000000
##79872C1.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)
#908020
Deuteranopia (green-blind)
#8F8033
Tritanopia (blue-blind)
#808074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #79872c;
/* rgb */ color: rgb(121, 135, 44);
/* oklch */ color: oklch(59.4% 0.116 117.6);
Tailwind
colors: {
  custom: {
    50: '#a2a96a',
    500: '#79872c',
    950: '#000000',
  },
}
SCSS
$custom: #79872c;
$custom-light: #a2a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#79872c",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 69.231,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.11584,
    "h": 117.6
  },
  "luminance": 0.21575
}

Semantic roles & 50–950 ramp

primary
#79872C
secondary
#6A5DB2
accent
#4DDA63
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #79872C

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

Preview Lab → · Contrast checker → · Palette generator →

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