#79861A#79861A

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

Color values

HEX#79861A
RGBrgb(121, 134, 26)
HSLhsl(67, 68%, 31%)
HSVhsv(67, 81%, 53%)
CMYKcmyk(9.7%, 0%, 80.6%, 47.5%)
CIE-LABlab(53.16, -18.62, 51.70)
CIE-LCHlch(53.16, 54.95, 109.81°)
OKLaboklab(58.98% -0.0566 0.1129)
OKLCHoklch(58.98% 0.126 116.6)
XYZxyz(16.5972, 21.1900, 4.1928)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79861A #271A86
analogous
#865D1A #79861A #43861A
triadic
#79861A #1A7986 #861A79
tetradic
#79861A #1A865D #271A86 #861A43
square
#79861A #1A865D #271A86 #861A43
split-complementary
#79861A #1A4386 #5D1A86
monochromatic
#1C1F06 #4B5310 #79861A #A7B924 #C8DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79861A#FFFFFF#000000##000000
##79861A1.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)
#907E00
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#817E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #79861a;
/* rgb */ color: rgb(121, 134, 26);
/* oklch */ color: oklch(59.0% 0.126 116.6);
Tailwind
colors: {
  custom: {
    50: '#a3a961',
    500: '#79861a',
    950: '#000000',
  },
}
SCSS
$custom: #79861a;
$custom-light: #a3a961;
$custom-dark: #000000;
JSON
{
  "hex": "#79861a",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 67.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58982,
    "c": 0.12631,
    "h": 116.6
  },
  "luminance": 0.2119
}

Semantic roles & 50–950 ramp

primary
#79861A
secondary
#5142B9
accent
#3DEA52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79861A

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

Preview Lab → · Contrast checker → · Palette generator →

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