#797722#797722

#797722 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.105 H 108.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#797722
RGBrgb(121, 119, 34)
HSLhsl(59, 56%, 30%)
HSVhsv(59, 72%, 47%)
CMYKcmyk(0%, 1.7%, 71.9%, 52.5%)
CIE-LABlab(48.73, -10.18, 44.63)
CIE-LCHlch(48.73, 45.77, 102.85°)
OKLaboklab(55.45% -0.0324 0.0995)
OKLCHoklch(55.45% 0.105 108)
XYZxyz(14.7713, 17.3746, 4.0886)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797722 #222479
analogous
#794C22 #797722 #4F7922
triadic
#797722 #227977 #772279
tetradic
#797722 #22794C #222479 #79224F
square
#797722 #22794C #222479 #79224F
split-complementary
#797722 #224F79 #4C2279
monochromatic
#191907 #494815 #797722 #A9A62F #CCC949

Accessibility & contrast

On white

4.69
#797722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #797722
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797722#FFFFFF#000000##FFFFFF
##7977221.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797722;
/* rgb */ color: rgb(121, 119, 34);
/* oklch */ color: oklch(55.5% 0.105 108.0);
Tailwind
colors: {
  custom: {
    50: '#a39e63',
    500: '#797722',
    950: '#000000',
  },
}
SCSS
$custom: #797722;
$custom-light: #a39e63;
$custom-dark: #000000;
JSON
{
  "hex": "#797722",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 58.621,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5545,
    "c": 0.10459,
    "h": 108
  },
  "luminance": 0.17374
}

Semantic roles & 50–950 ramp

primary
#797722
secondary
#4B4DAC
accent
#4CDF48
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #797722

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

Preview Lab → · Contrast checker → · Palette generator →

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