#79871E#79871E

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

Color values

HEX#79871E
RGBrgb(121, 135, 30)
HSLhsl(68, 64%, 32%)
HSVhsv(68, 78%, 53%)
CMYKcmyk(10.4%, 0%, 77.8%, 47.1%)
CIE-LABlab(53.48, -18.96, 50.69)
CIE-LCHlch(53.48, 54.12, 110.51°)
OKLaboklab(59.25% -0.0572 0.1115)
OKLCHoklch(59.25% 0.125 117.2)
XYZxyz(16.7839, 21.4868, 4.4912)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79871E #2C1E87
analogous
#87611E #79871E #45871E
triadic
#79871E #1E7987 #871E79
tetradic
#79871E #1E8761 #2C1E87 #871E45
square
#79871E #1E8761 #2C1E87 #871E45
split-complementary
#79871E #1E4587 #611E87
monochromatic
#1F2308 #4C5513 #79871E #A6B929 #C4D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79871E#FFFFFF#000000##000000
##79871E1.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)
#917F04
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#817F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #79871e;
/* rgb */ color: rgb(121, 135, 30);
/* oklch */ color: oklch(59.2% 0.125 117.2);
Tailwind
colors: {
  custom: {
    50: '#a3a963',
    500: '#79871e',
    950: '#000000',
  },
}
SCSS
$custom: #79871e;
$custom-light: #a3a963;
$custom-dark: #000000;
JSON
{
  "hex": "#79871e",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 68,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59247,
    "c": 0.12533,
    "h": 117.2
  },
  "luminance": 0.21487
}

Semantic roles & 50–950 ramp

primary
#79871E
secondary
#5748B9
accent
#41E757
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #79871E

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

Preview Lab → · Contrast checker → · Palette generator →

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