#79871C#79871C

#79871C 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#79871C
RGBrgb(121, 135, 28)
HSLhsl(68, 66%, 32%)
HSVhsv(68, 79%, 53%)
CMYKcmyk(10.4%, 0%, 79.3%, 47.1%)
CIE-LABlab(53.47, -19.05, 51.34)
CIE-LCHlch(53.47, 54.76, 110.36°)
OKLaboklab(59.24% -0.0576 0.1125)
OKLCHoklch(59.24% 0.126 117.1)
XYZxyz(16.7592, 21.4769, 4.3610)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79871C #2A1C87
analogous
#875F1C #79871C #44871C
triadic
#79871C #1C7987 #871C79
tetradic
#79871C #1C875F #2A1C87 #871C44
square
#79871C #1C875F #2A1C87 #871C44
split-complementary
#79871C #1C4487 #5F1C87
monochromatic
#1E2207 #4C5411 #79871C #A6BA27 #C5D845

Accessibility & contrast

On white

3.97
#79871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##79871C#FFFFFF#000000##000000
##79871C1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79871c;
/* rgb */ color: rgb(121, 135, 28);
/* oklch */ color: oklch(59.2% 0.126 117.1);
Tailwind
colors: {
  custom: {
    50: '#a3a962',
    500: '#79871c',
    950: '#000000',
  },
}
SCSS
$custom: #79871c;
$custom-light: #a3a962;
$custom-dark: #000000;
JSON
{
  "hex": "#79871c",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 67.85,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59235,
    "c": 0.12643,
    "h": 117.1
  },
  "luminance": 0.21477
}

Semantic roles & 50–950 ramp

primary
#79871C
secondary
#5445BA
accent
#3FE955
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79871C

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

Preview Lab → · Contrast checker → · Palette generator →

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