#79702F#79702F

#79702F is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.9% C 0.086 H 101.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#79702F
RGBrgb(121, 112, 47)
HSLhsl(53, 44%, 33%)
HSVhsv(53, 61%, 47%)
CMYKcmyk(0%, 7.4%, 61.2%, 52.5%)
CIE-LABlab(46.79, -5.38, 36.63)
CIE-LCHlch(46.79, 37.02, 98.35°)
OKLaboklab(53.94% -0.0172 0.0846)
OKLCHoklch(53.94% 0.086 101.5)
XYZxyz(14.1929, 15.8591, 5.0023)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79702F #2F3879
analogous
#794B2F #79702F #5D792F
triadic
#79702F #2F7970 #702F79
tetradic
#79702F #2F794B #2F3879 #792F5D
square
#79702F #2F794B #2F3879 #792F5D
split-complementary
#79702F #2F5D79 #4B2F79
monochromatic
#211E0D #4D471E #79702F #A59940 #C2B661

Accessibility & contrast

On white

5.03
#79702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#79702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79702F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79702F#FFFFFF#000000##FFFFFF
##79702F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D28
Deuteranopia (green-blind)
#7C7132
Tritanopia (blue-blind)
#826962
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #79702f;
/* rgb */ color: rgb(121, 112, 47);
/* oklch */ color: oklch(53.9% 0.086 101.5);
Tailwind
colors: {
  custom: {
    50: '#a2986a',
    500: '#79702f',
    950: '#000000',
  },
}
SCSS
$custom: #79702f;
$custom-light: #a2986a;
$custom-dark: #000000;
JSON
{
  "hex": "#79702f",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 52.703,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53944,
    "c": 0.08637,
    "h": 101.5
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#79702F
secondary
#5B65A8
accent
#64D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #79702F

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

Preview Lab → · Contrast checker → · Palette generator →

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