#79861F#79861F

#79861F is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.0% C 0.124 H 116.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#79861F
RGBrgb(121, 134, 31)
HSLhsl(68, 62%, 32%)
HSVhsv(68, 77%, 53%)
CMYKcmyk(9.7%, 0%, 76.9%, 47.5%)
CIE-LABlab(53.18, -18.39, 50.07)
CIE-LCHlch(53.18, 53.34, 110.17°)
OKLaboklab(59.01% -0.0556 0.1104)
OKLCHoklch(59.01% 0.124 116.7)
XYZxyz(16.6580, 21.2143, 4.5133)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79861F #2C1F86
analogous
#86601F #79861F #45861F
triadic
#79861F #1F7986 #861F79
tetradic
#79861F #1F8660 #2C1F86 #861F45
square
#79861F #1F8660 #2C1F86 #861F45
split-complementary
#79861F #1F4586 #601F86
monochromatic
#1F2308 #4C5414 #79861F #A6B82A #C4D54A

Accessibility & contrast

On white

4.01
#79861F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#79861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79861F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79861F#FFFFFF#000000##000000
##79861F1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F07
Deuteranopia (green-blind)
#8E8028
Tritanopia (blue-blind)
#817E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #79861f;
/* rgb */ color: rgb(121, 134, 31);
/* oklch */ color: oklch(59.0% 0.124 116.7);
Tailwind
colors: {
  custom: {
    50: '#a3a963',
    500: '#79861f',
    950: '#000000',
  },
}
SCSS
$custom: #79861f;
$custom-light: #a3a963;
$custom-dark: #000000;
JSON
{
  "hex": "#79861f",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 67.573,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59011,
    "c": 0.12357,
    "h": 116.7
  },
  "luminance": 0.21214
}

Semantic roles & 50–950 ramp

primary
#79861F
secondary
#5749B8
accent
#42E557
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79861F

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

Preview Lab → · Contrast checker → · Palette generator →

#79861F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva