#79701F#79701F

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

Color values

HEX#79701F
RGBrgb(121, 112, 31)
HSLhsl(54, 59%, 30%)
HSVhsv(54, 74%, 47%)
CMYKcmyk(0%, 7.4%, 74.4%, 52.5%)
CIE-LABlab(46.65, -6.44, 43.81)
CIE-LCHlch(46.65, 44.28, 98.36°)
OKLaboklab(53.79% -0.0222 0.0971)
OKLCHoklch(53.79% 0.1 102.9)
XYZxyz(13.9273, 15.7528, 3.6030)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79701F #1F2879
analogous
#79431F #79701F #55791F
triadic
#79701F #1F7970 #701F79
tetradic
#79701F #1F7943 #1F2879 #791F55
square
#79701F #1F7943 #1F2879 #791F55
split-complementary
#79701F #1F5579 #431F79
monochromatic
#181706 #484313 #79701F #AA9D2B #CFC143

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79701F#FFFFFF#000000##FFFFFF
##79701F1.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)
#7B6C12
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#836860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #79701f;
/* rgb */ color: rgb(121, 112, 31);
/* oklch */ color: oklch(53.8% 0.100 102.9);
Tailwind
colors: {
  custom: {
    50: '#a39861',
    500: '#79701f',
    950: '#000000',
  },
}
SCSS
$custom: #79701f;
$custom-light: #a39861;
$custom-dark: #000000;
JSON
{
  "hex": "#79701f",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 54,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53787,
    "c": 0.09964,
    "h": 102.9
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#79701F
secondary
#4751AC
accent
#55E245
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #79701F

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

Preview Lab → · Contrast checker → · Palette generator →

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