#797322#797322

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

Color values

HEX#797322
RGBrgb(121, 115, 34)
HSLhsl(56, 56%, 30%)
HSVhsv(56, 72%, 47%)
CMYKcmyk(0%, 5%, 71.9%, 52.5%)
CIE-LABlab(47.55, -7.96, 43.45)
CIE-LCHlch(47.55, 44.18, 100.38°)
OKLaboklab(54.51% -0.0261 0.097)
OKLCHoklch(54.51% 0.1 105.1)
XYZxyz(14.3052, 16.4424, 3.9332)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797322 #222879
analogous
#794722 #797322 #537922
triadic
#797322 #227973 #732279
tetradic
#797322 #227947 #222879 #792253
square
#797322 #227947 #222879 #792253
split-complementary
#797322 #225379 #472279
monochromatic
#191807 #494615 #797322 #A9A02F #CCC349

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797322#FFFFFF#000000##FFFFFF
##7973221.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)
#7D6F16
Deuteranopia (green-blind)
#807227
Tritanopia (blue-blind)
#826B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797322;
/* rgb */ color: rgb(121, 115, 34);
/* oklch */ color: oklch(54.5% 0.100 105.1);
Tailwind
colors: {
  custom: {
    50: '#a39b63',
    500: '#797322',
    950: '#000000',
  },
}
SCSS
$custom: #797322;
$custom-light: #a39b63;
$custom-dark: #000000;
JSON
{
  "hex": "#797322",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 55.862,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.10044,
    "h": 105.1
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#797322
secondary
#4B52AC
accent
#53DF48
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #797322

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

Preview Lab → · Contrast checker → · Palette generator →

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