#79861D#79861D

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

Color values

HEX#79861D
RGBrgb(121, 134, 29)
HSLhsl(67, 64%, 32%)
HSVhsv(67, 78%, 53%)
CMYKcmyk(9.7%, 0%, 78.4%, 47.5%)
CIE-LABlab(53.17, -18.49, 50.74)
CIE-LCHlch(53.17, 54.00, 110.02°)
OKLaboklab(59% -0.056 0.1114)
OKLCHoklch(59% 0.125 116.7)
XYZxyz(16.6325, 21.2041, 4.3788)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79861D #2A1D86
analogous
#865F1D #79861D #44861D
triadic
#79861D #1D7986 #861D79
tetradic
#79861D #1D865F #2A1D86 #861D44
square
#79861D #1D865F #2A1D86 #861D44
split-complementary
#79861D #1D4486 #5F1D86
monochromatic
#1E2107 #4C5412 #79861D #A6B828 #C5D746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79861D#FFFFFF#000000##000000
##79861D1.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)
#907F02
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#817E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #79861d;
/* rgb */ color: rgb(121, 134, 29);
/* oklch */ color: oklch(59.0% 0.125 116.7);
Tailwind
colors: {
  custom: {
    50: '#a3a962',
    500: '#79861d',
    950: '#000000',
  },
}
SCSS
$custom: #79861d;
$custom-light: #a3a962;
$custom-dark: #000000;
JSON
{
  "hex": "#79861d",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 67.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58999,
    "c": 0.12472,
    "h": 116.7
  },
  "luminance": 0.21204
}

Semantic roles & 50–950 ramp

primary
#79861D
secondary
#5446B9
accent
#40E755
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79861D

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

Preview Lab → · Contrast checker → · Palette generator →

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