#79702D#79702D

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

Color values

HEX#79702D
RGBrgb(121, 112, 45)
HSLhsl(53, 46%, 33%)
HSVhsv(53, 63%, 47%)
CMYKcmyk(0%, 7.4%, 62.8%, 52.5%)
CIE-LABlab(46.77, -5.53, 37.60)
CIE-LCHlch(46.77, 38.00, 98.37°)
OKLaboklab(53.92% -0.0179 0.0864)
OKLCHoklch(53.92% 0.088 101.7)
XYZxyz(14.1535, 15.8433, 4.7946)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79702D #2D3679
analogous
#794A2D #79702D #5C792D
triadic
#79702D #2D7970 #702D79
tetradic
#79702D #2D794A #2D3679 #792D5C
square
#79702D #2D794A #2D3679 #792D5C
split-complementary
#79702D #2D5C79 #4A2D79
monochromatic
#201D0C #4C471C #79702D #A6993E #C3B75D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79702D#FFFFFF#000000##FFFFFF
##79702D1.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)
#7A6D26
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#826862
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #79702d;
/* rgb */ color: rgb(121, 112, 45);
/* oklch */ color: oklch(53.9% 0.088 101.7);
Tailwind
colors: {
  custom: {
    50: '#a29869',
    500: '#79702d',
    950: '#000000',
  },
}
SCSS
$custom: #79702d;
$custom-light: #a29869;
$custom-dark: #000000;
JSON
{
  "hex": "#79702d",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 52.895,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53921,
    "c": 0.08825,
    "h": 101.7
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#79702D
secondary
#5862A9
accent
#62D552
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #79702D

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

Preview Lab → · Contrast checker → · Palette generator →

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