#797720#797720

#797720 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.4% C 0.106 H 108.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#797720
RGBrgb(121, 119, 32)
HSLhsl(59, 58%, 30%)
HSVhsv(59, 74%, 47%)
CMYKcmyk(0%, 1.7%, 73.6%, 52.5%)
CIE-LABlab(48.71, -10.29, 45.42)
CIE-LCHlch(48.71, 46.57, 102.77°)
OKLaboklab(55.44% -0.0329 0.1008)
OKLCHoklch(55.44% 0.106 108.1)
XYZxyz(14.7432, 17.3634, 3.9411)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797720 #202279
analogous
#794B20 #797720 #4E7920
triadic
#797720 #207977 #772079
tetradic
#797720 #20794B #202279 #79204E
square
#797720 #20794B #202279 #79204E
split-complementary
#797720 #204E79 #4B2079
monochromatic
#181806 #494713 #797720 #A9A72D #CECB45

Accessibility & contrast

On white

4.70
#797720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#797720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797720
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797720#FFFFFF#000000##FFFFFF
##7977201.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817211
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#826F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797720;
/* rgb */ color: rgb(121, 119, 32);
/* oklch */ color: oklch(55.4% 0.106 108.1);
Tailwind
colors: {
  custom: {
    50: '#a39e62',
    500: '#797720',
    950: '#000000',
  },
}
SCSS
$custom: #797720;
$custom-light: #a39e62;
$custom-dark: #000000;
JSON
{
  "hex": "#797720",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 58.652,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.10599,
    "h": 108.1
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#797720
secondary
#494BAC
accent
#4AE146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #797720

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

Preview Lab → · Contrast checker → · Palette generator →

#797720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva