#79702A#79702A

#79702A is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.091 H 102.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#79702A
RGBrgb(121, 112, 42)
HSLhsl(53, 48%, 32%)
HSVhsv(53, 65%, 47%)
CMYKcmyk(0%, 7.4%, 65.3%, 52.5%)
CIE-LABlab(46.74, -5.75, 39.02)
CIE-LCHlch(46.74, 39.44, 98.39°)
OKLaboklab(53.89% -0.0189 0.089)
OKLCHoklch(53.89% 0.091 102)
XYZxyz(14.0978, 15.8210, 4.5012)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79702A #2A3379
analogous
#79492A #79702A #5A792A
triadic
#79702A #2A7970 #702A79
tetradic
#79702A #2A7949 #2A3379 #792A5A
square
#79702A #2A7949 #2A3379 #792A5A
split-complementary
#79702A #2A5A79 #492A79
monochromatic
#1E1C0A #4C461A #79702A #A69A3A #C5B958

Accessibility & contrast

On white

5.04
#79702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#79702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79702A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79702A#FFFFFF#000000##FFFFFF
##79702A1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D22
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#826861
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #79702a;
/* rgb */ color: rgb(121, 112, 42);
/* oklch */ color: oklch(53.9% 0.091 102.0);
Tailwind
colors: {
  custom: {
    50: '#a29867',
    500: '#79702a',
    950: '#000000',
  },
}
SCSS
$custom: #79702a;
$custom-light: #a29867;
$custom-dark: #000000;
JSON
{
  "hex": "#79702a",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 53.165,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.09098,
    "h": 102
  },
  "luminance": 0.1582
}

Semantic roles & 50–950 ramp

primary
#79702A
secondary
#545EAB
accent
#5FD850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #79702A

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

Preview Lab → · Contrast checker → · Palette generator →

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