#79701B#79701B

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

Color values

HEX#79701B
RGBrgb(121, 112, 27)
HSLhsl(54, 64%, 29%)
HSVhsv(54, 78%, 47%)
CMYKcmyk(0%, 7.4%, 77.7%, 52.5%)
CIE-LABlab(46.62, -6.64, 45.35)
CIE-LCHlch(46.62, 45.83, 98.33°)
OKLaboklab(53.76% -0.0231 0.0996)
OKLCHoklch(53.76% 0.102 103.1)
XYZxyz(13.8778, 15.7330, 3.3425)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79701B #1B2479
analogous
#79411B #79701B #53791B
triadic
#79701B #1B7970 #701B79
tetradic
#79701B #1B7941 #1B2479 #791B53
square
#79701B #1B7941 #1B2479 #791B53
split-complementary
#79701B #1B5379 #411B79
monochromatic
#191706 #474210 #79701B #AB9E26 #D3C53B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79701B#FFFFFF#000000##FFFFFF
##79701B1.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)
#7B6C0A
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#836860
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #79701b;
/* rgb */ color: rgb(121, 112, 27);
/* oklch */ color: oklch(53.8% 0.102 103.1);
Tailwind
colors: {
  custom: {
    50: '#a3985f',
    500: '#79701b',
    950: '#000000',
  },
}
SCSS
$custom: #79701b;
$custom-light: #a3985f;
$custom-dark: #000000;
JSON
{
  "hex": "#79701b",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 54.255,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.10225,
    "h": 103.1
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#79701B
secondary
#434DAD
accent
#51E741
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #79701B

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

Preview Lab → · Contrast checker → · Palette generator →

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