#79862D#79862D

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

Color values

HEX#79862D
RGBrgb(121, 134, 45)
HSLhsl(69, 50%, 35%)
HSVhsv(69, 66%, 53%)
CMYKcmyk(9.7%, 0%, 66.4%, 47.5%)
CIE-LABlab(53.28, -17.55, 44.61)
CIE-LCHlch(53.28, 47.94, 111.48°)
OKLaboklab(59.12% -0.0518 0.1013)
OKLCHoklch(59.12% 0.114 117.1)
XYZxyz(16.8843, 21.3048, 5.7049)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79862D #3A2D86
analogous
#86662D #79862D #4C862D
triadic
#79862D #2D7986 #862D79
tetradic
#79862D #2D8666 #3A2D86 #862D4C
square
#79862D #2D8666 #3A2D86 #862D4C
split-complementary
#79862D #2D4C86 #662D86
monochromatic
#262A0E #50581E #79862D #A2B43C #BBCB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79862D#FFFFFF#000000##000000
##79862D1.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)
#8F7F21
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#807F74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #79862d;
/* rgb */ color: rgb(121, 134, 45);
/* oklch */ color: oklch(59.1% 0.114 117.1);
Tailwind
colors: {
  custom: {
    50: '#a2a96b',
    500: '#79862d',
    950: '#000000',
  },
}
SCSS
$custom: #79862d;
$custom-light: #a2a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#79862d",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 68.764,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59122,
    "c": 0.11379,
    "h": 117.1
  },
  "luminance": 0.21305
}

Semantic roles & 50–950 ramp

primary
#79862D
secondary
#6A5EB1
accent
#4FD963
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79862D

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

Preview Lab → · Contrast checker → · Palette generator →

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