#79871D#79871D

#79871D is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.2% C 0.126 H 117.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#79871D
RGBrgb(121, 135, 29)
HSLhsl(68, 65%, 32%)
HSVhsv(68, 79%, 53%)
CMYKcmyk(10.4%, 0%, 78.5%, 47.1%)
CIE-LABlab(53.47, -19.01, 51.02)
CIE-LCHlch(53.47, 54.44, 110.43°)
OKLaboklab(59.24% -0.0574 0.112)
OKLCHoklch(59.24% 0.126 117.1)
XYZxyz(16.7713, 21.4818, 4.4251)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79871D #2B1D87
analogous
#87601D #79871D #44871D
triadic
#79871D #1D7987 #871D79
tetradic
#79871D #1D8760 #2B1D87 #871D44
square
#79871D #1D8760 #2B1D87 #871D44
split-complementary
#79871D #1D4487 #601D87
monochromatic
#1F2207 #4C5512 #79871D #A6B928 #C4D747

Accessibility & contrast

On white

3.96
#79871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#79871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79871D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79871D#FFFFFF#000000##000000
##79871D1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F02
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#817F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #79871d;
/* rgb */ color: rgb(121, 135, 29);
/* oklch */ color: oklch(59.2% 0.126 117.1);
Tailwind
colors: {
  custom: {
    50: '#a3a963',
    500: '#79871d',
    950: '#000000',
  },
}
SCSS
$custom: #79871d;
$custom-light: #a3a963;
$custom-dark: #000000;
JSON
{
  "hex": "#79871d",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 67.925,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59241,
    "c": 0.12588,
    "h": 117.1
  },
  "luminance": 0.21482
}

Semantic roles & 50–950 ramp

primary
#79871D
secondary
#5646B9
accent
#40E856
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #79871D

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

Preview Lab → · Contrast checker → · Palette generator →

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