#79702C#79702C

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

Color values

HEX#79702C
RGBrgb(121, 112, 44)
HSLhsl(53, 47%, 32%)
HSVhsv(53, 64%, 47%)
CMYKcmyk(0%, 7.4%, 63.6%, 52.5%)
CIE-LABlab(46.76, -5.61, 38.07)
CIE-LCHlch(46.76, 38.48, 98.38°)
OKLaboklab(53.91% -0.0182 0.0873)
OKLCHoklch(53.91% 0.089 101.8)
XYZxyz(14.1345, 15.8357, 4.6944)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79702C #2C3579
analogous
#794A2C #79702C #5C792C
triadic
#79702C #2C7970 #702C79
tetradic
#79702C #2C794A #2C3579 #792C5C
square
#79702C #2C794A #2C3579 #792C5C
split-complementary
#79702C #2C5C79 #4A2C79
monochromatic
#1F1D0B #4C461C #79702C #A69A3C #C4B75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79702C#FFFFFF#000000##FFFFFF
##79702C1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79702c;
/* rgb */ color: rgb(121, 112, 44);
/* oklch */ color: oklch(53.9% 0.089 101.8);
Tailwind
colors: {
  custom: {
    50: '#a29868',
    500: '#79702c',
    950: '#000000',
  },
}
SCSS
$custom: #79702c;
$custom-light: #a29868;
$custom-dark: #000000;
JSON
{
  "hex": "#79702c",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 52.987,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.08918,
    "h": 101.8
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

primary
#79702C
secondary
#5761AA
accent
#61D651
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #79702C

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

Preview Lab → · Contrast checker → · Palette generator →

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