#79701A#79701A

#79701A is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.103 H 103.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#79701A
RGBrgb(121, 112, 26)
HSLhsl(54, 65%, 29%)
HSVhsv(54, 79%, 47%)
CMYKcmyk(0%, 7.4%, 78.5%, 52.5%)
CIE-LABlab(46.62, -6.68, 45.71)
CIE-LCHlch(46.62, 46.20, 98.32°)
OKLaboklab(53.75% -0.0234 0.1002)
OKLCHoklch(53.75% 0.103 103.1)
XYZxyz(13.8664, 15.7285, 3.2826)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79701A #1A2379
analogous
#79411A #79701A #53791A
triadic
#79701A #1A7970 #701A79
tetradic
#79701A #1A7941 #1A2379 #791A53
square
#79701A #1A7941 #1A2379 #791A53
split-complementary
#79701A #1A5379 #411A79
monochromatic
#191705 #47410F #79701A #AB9F25 #D4C639

Accessibility & contrast

On white

5.07
#79701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#79701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79701A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79701A#FFFFFF#000000##FFFFFF
##79701A1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C08
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#836860
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #79701a;
/* rgb */ color: rgb(121, 112, 26);
/* oklch */ color: oklch(53.8% 0.103 103.1);
Tailwind
colors: {
  custom: {
    50: '#a3985e',
    500: '#79701a',
    950: '#000000',
  },
}
SCSS
$custom: #79701a;
$custom-light: #a3985e;
$custom-dark: #000000;
JSON
{
  "hex": "#79701a",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 54.316,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53751,
    "c": 0.10286,
    "h": 103.1
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#79701A
secondary
#414CAD
accent
#50E840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #79701A

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

Preview Lab → · Contrast checker → · Palette generator →

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