#79701C#79701C

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

Color values

HEX#79701C
RGBrgb(121, 112, 28)
HSLhsl(54, 62%, 29%)
HSVhsv(54, 77%, 47%)
CMYKcmyk(0%, 7.4%, 76.9%, 52.5%)
CIE-LABlab(46.63, -6.59, 44.97)
CIE-LCHlch(46.63, 45.45, 98.33°)
OKLaboklab(53.76% -0.0229 0.099)
OKLCHoklch(53.76% 0.102 103)
XYZxyz(13.8895, 15.7377, 3.4044)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79701C #1C2579
analogous
#79421C #79701C #54791C
triadic
#79701C #1C7970 #701C79
tetradic
#79701C #1C7942 #1C2579 #791C54
square
#79701C #1C7942 #1C2579 #791C54
split-complementary
#79701C #1C5479 #421C79
monochromatic
#191706 #474210 #79701C #AB9E28 #D2C43D

Accessibility & contrast

On white

5.06
#79701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #79701C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79701C#FFFFFF#000000##FFFFFF
##79701C1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79701c;
/* rgb */ color: rgb(121, 112, 28);
/* oklch */ color: oklch(53.8% 0.102 103.0);
Tailwind
colors: {
  custom: {
    50: '#a3985f',
    500: '#79701c',
    950: '#000000',
  },
}
SCSS
$custom: #79701c;
$custom-light: #a3985f;
$custom-dark: #000000;
JSON
{
  "hex": "#79701c",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 54.194,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.10163,
    "h": 103
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#79701C
secondary
#444EAD
accent
#52E542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #79701C

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

Preview Lab → · Contrast checker → · Palette generator →

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