#797320#797320

#797320 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.5% C 0.102 H 105.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#797320
RGBrgb(121, 115, 32)
HSLhsl(56, 58%, 30%)
HSVhsv(56, 74%, 47%)
CMYKcmyk(0%, 5%, 73.6%, 52.5%)
CIE-LABlab(47.54, -8.07, 44.27)
CIE-LCHlch(47.54, 45.00, 100.33°)
OKLaboklab(54.5% -0.0267 0.0983)
OKLCHoklch(54.5% 0.102 105.2)
XYZxyz(14.2772, 16.4312, 3.7857)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797320 #202679
analogous
#794620 #797320 #537920
triadic
#797320 #207973 #732079
tetradic
#797320 #207946 #202679 #792053
square
#797320 #207946 #202679 #792053
split-complementary
#797320 #205379 #462079
monochromatic
#181706 #494513 #797320 #A9A12D #CEC545

Accessibility & contrast

On white

4.90
#797320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#797320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797320
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797320#FFFFFF#000000##FFFFFF
##7973201.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F12
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#826B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797320;
/* rgb */ color: rgb(121, 115, 32);
/* oklch */ color: oklch(54.5% 0.102 105.2);
Tailwind
colors: {
  custom: {
    50: '#a39b61',
    500: '#797320',
    950: '#000000',
  },
}
SCSS
$custom: #797320;
$custom-light: #a39b61;
$custom-dark: #000000;
JSON
{
  "hex": "#797320",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 55.955,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.10186,
    "h": 105.2
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#797320
secondary
#494FAC
accent
#51E146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #797320

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

Preview Lab → · Contrast checker → · Palette generator →

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