#79702B#79702B

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

Color values

HEX#79702B
RGBrgb(121, 112, 43)
HSLhsl(53, 48%, 32%)
HSVhsv(53, 64%, 47%)
CMYKcmyk(0%, 7.4%, 64.5%, 52.5%)
CIE-LABlab(46.75, -5.68, 38.55)
CIE-LCHlch(46.75, 38.96, 98.39°)
OKLaboklab(53.9% -0.0186 0.0882)
OKLCHoklch(53.9% 0.09 101.9)
XYZxyz(14.1159, 15.8283, 4.5966)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79702B #2B3479
analogous
#79492B #79702B #5B792B
triadic
#79702B #2B7970 #702B79
tetradic
#79702B #2B7949 #2B3479 #792B5B
square
#79702B #2B7949 #2B3479 #792B5B
split-complementary
#79702B #2B5B79 #492B79
monochromatic
#1F1C0B #4C461B #79702B #A69A3B #C4B85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79702B#FFFFFF#000000##FFFFFF
##79702B1.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)
#7A6D23
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#826861
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #79702b;
/* rgb */ color: rgb(121, 112, 43);
/* oklch */ color: oklch(53.9% 0.090 101.9);
Tailwind
colors: {
  custom: {
    50: '#a29868',
    500: '#79702b',
    950: '#000000',
  },
}
SCSS
$custom: #79702b;
$custom-light: #a29868;
$custom-dark: #000000;
JSON
{
  "hex": "#79702b",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 53.077,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53899,
    "c": 0.09009,
    "h": 101.9
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#79702B
secondary
#565FAA
accent
#60D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #79702B

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

Preview Lab → · Contrast checker → · Palette generator →

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