#79872D#79872D

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

Color values

HEX#79872D
RGBrgb(121, 135, 45)
HSLhsl(69, 50%, 35%)
HSVhsv(69, 67%, 53%)
CMYKcmyk(10.4%, 0%, 66.7%, 47.1%)
CIE-LABlab(53.58, -18.08, 44.93)
CIE-LCHlch(53.58, 48.43, 111.92°)
OKLaboklab(59.36% -0.0533 0.102)
OKLCHoklch(59.36% 0.115 117.6)
XYZxyz(17.0231, 21.5825, 5.7512)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79872D #3B2D87
analogous
#87682D #79872D #4C872D
triadic
#79872D #2D7987 #872D79
tetradic
#79872D #2D8768 #3B2D87 #872D4C
square
#79872D #2D8768 #3B2D87 #872D4C
split-complementary
#79872D #2D4C87 #682D87
monochromatic
#272B0E #50591E #79872D #A2B53C #BBCB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79872D#FFFFFF#000000##000000
##79872D1.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)
#908021
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#808075
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #79872d;
/* rgb */ color: rgb(121, 135, 45);
/* oklch */ color: oklch(59.4% 0.115 117.6);
Tailwind
colors: {
  custom: {
    50: '#a2a96b',
    500: '#79872d',
    950: '#000000',
  },
}
SCSS
$custom: #79872d;
$custom-light: #a2a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#79872d",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 69.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59362,
    "c": 0.11505,
    "h": 117.6
  },
  "luminance": 0.21582
}

Semantic roles & 50–950 ramp

primary
#79872D
secondary
#6B5EB2
accent
#4EDA64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #79872D

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

Preview Lab → · Contrast checker → · Palette generator →

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