#79862A#79862A

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

Color values

HEX#79862A
RGBrgb(121, 134, 42)
HSLhsl(68, 52%, 35%)
HSVhsv(68, 69%, 53%)
CMYKcmyk(9.7%, 0%, 68.7%, 47.5%)
CIE-LABlab(53.26, -17.76, 45.88)
CIE-LCHlch(53.26, 49.19, 111.16°)
OKLaboklab(59.1% -0.0527 0.1035)
OKLCHoklch(59.1% 0.116 117)
XYZxyz(16.8285, 21.2825, 5.4114)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79862A #372A86
analogous
#86652A #79862A #4B862A
triadic
#79862A #2A7986 #862A79
tetradic
#79862A #2A8665 #372A86 #862A4B
square
#79862A #2A8665 #372A86 #862A4B
split-complementary
#79862A #2A4B86 #652A86
monochromatic
#25290D #4F571B #79862A #A3B539 #BDCD5E

Accessibility & contrast

On white

4.00
#79862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##79862A#FFFFFF#000000##000000
##79862A1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1D
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#807E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #79862a;
/* rgb */ color: rgb(121, 134, 42);
/* oklch */ color: oklch(59.1% 0.116 117.0);
Tailwind
colors: {
  custom: {
    50: '#a2a969',
    500: '#79862a',
    950: '#000000',
  },
}
SCSS
$custom: #79862a;
$custom-light: #a2a969;
$custom-dark: #000000;
JSON
{
  "hex": "#79862a",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 68.478,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59095,
    "c": 0.11613,
    "h": 117
  },
  "luminance": 0.21282
}

Semantic roles & 50–950 ramp

primary
#79862A
secondary
#665AB2
accent
#4CDC60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79862A

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

Preview Lab → · Contrast checker → · Palette generator →

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