#79861C#79861C

#79861C 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#79861C
RGBrgb(121, 134, 28)
HSLhsl(67, 65%, 32%)
HSVhsv(67, 79%, 53%)
CMYKcmyk(9.7%, 0%, 79.1%, 47.5%)
CIE-LABlab(53.17, -18.53, 51.07)
CIE-LCHlch(53.17, 54.33, 109.95°)
OKLaboklab(58.99% -0.0562 0.1119)
OKLCHoklch(58.99% 0.125 116.7)
XYZxyz(16.6203, 21.1992, 4.3147)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79861C #291C86
analogous
#865E1C #79861C #44861C
triadic
#79861C #1C7986 #861C79
tetradic
#79861C #1C865E #291C86 #861C44
square
#79861C #1C865E #291C86 #861C44
split-complementary
#79861C #1C4486 #5E1C86
monochromatic
#1E2107 #4B5311 #79861C #A7B927 #C6D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79861C#FFFFFF#000000##000000
##79861C1.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)
#907F00
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#817E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #79861c;
/* rgb */ color: rgb(121, 134, 28);
/* oklch */ color: oklch(59.0% 0.125 116.7);
Tailwind
colors: {
  custom: {
    50: '#a3a962',
    500: '#79861c',
    950: '#000000',
  },
}
SCSS
$custom: #79861c;
$custom-light: #a3a962;
$custom-dark: #000000;
JSON
{
  "hex": "#79861c",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 67.358,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58993,
    "c": 0.12526,
    "h": 116.7
  },
  "luminance": 0.21199
}

Semantic roles & 50–950 ramp

primary
#79861C
secondary
#5345B9
accent
#3FE854
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79861C

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

Preview Lab → · Contrast checker → · Palette generator →

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