#79862B#79862B

#79862B is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.115 H 117.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#79862B
RGBrgb(121, 134, 43)
HSLhsl(69, 51%, 35%)
HSVhsv(69, 68%, 53%)
CMYKcmyk(9.7%, 0%, 67.9%, 47.5%)
CIE-LABlab(53.27, -17.69, 45.46)
CIE-LCHlch(53.27, 48.78, 111.27°)
OKLaboklab(59.1% -0.0524 0.1028)
OKLCHoklch(59.1% 0.115 117)
XYZxyz(16.8467, 21.2898, 5.5069)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79862B #382B86
analogous
#86652B #79862B #4C862B
triadic
#79862B #2B7986 #862B79
tetradic
#79862B #2B8665 #382B86 #862B4C
square
#79862B #2B8665 #382B86 #862B4C
split-complementary
#79862B #2B4C86 #652B86
monochromatic
#25290D #4F581C #79862B #A3B43A #BCCC60

Accessibility & contrast

On white

3.99
#79862B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#79862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79862B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79862B#FFFFFF#000000##000000
##79862B1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#807F74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #79862b;
/* rgb */ color: rgb(121, 134, 43);
/* oklch */ color: oklch(59.1% 0.115 117.0);
Tailwind
colors: {
  custom: {
    50: '#a2a96a',
    500: '#79862b',
    950: '#000000',
  },
}
SCSS
$custom: #79862b;
$custom-light: #a2a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#79862b",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 68.571,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.11537,
    "h": 117
  },
  "luminance": 0.2129
}

Semantic roles & 50–950 ramp

primary
#79862B
secondary
#675BB2
accent
#4DDB61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79862B

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

Preview Lab → · Contrast checker → · Palette generator →

#79862B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva