#796722#796722

#796722 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.7% C 0.090 H 94.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#796722
RGBrgb(121, 103, 34)
HSLhsl(48, 56%, 30%)
HSVhsv(48, 72%, 47%)
CMYKcmyk(0%, 14.9%, 71.9%, 52.5%)
CIE-LABlab(44.06, -1.11, 39.93)
CIE-LCHlch(44.06, 39.94, 91.59°)
OKLaboklab(51.75% -0.0066 0.0895)
OKLCHoklch(51.75% 0.09 94.2)
XYZxyz(13.0248, 13.8816, 3.5064)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796722 #223479
analogous
#793B22 #796722 #5F7922
triadic
#796722 #227967 #672279
tetradic
#796722 #22793B #223479 #79225F
square
#796722 #22793B #223479 #79225F
split-complementary
#796722 #225F79 #3B2279
monochromatic
#191607 #493E15 #796722 #A9902F #CCB149

Accessibility & contrast

On white

5.56
#796722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#796722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796722
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796722#FFFFFF#000000##FFFFFF
##7967221.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726519
Deuteranopia (green-blind)
#776A26
Tritanopia (blue-blind)
#835F59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #796722;
/* rgb */ color: rgb(121, 103, 34);
/* oklch */ color: oklch(51.7% 0.090 94.2);
Tailwind
colors: {
  custom: {
    50: '#a39261',
    500: '#796722',
    950: '#000000',
  },
}
SCSS
$custom: #796722;
$custom-light: #a39261;
$custom-dark: #000000;
JSON
{
  "hex": "#796722",
  "rgb": {
    "r": 121,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 47.586,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.08977,
    "h": 94.2
  },
  "luminance": 0.13881
}

Semantic roles & 50–950 ramp

primary
#796722
secondary
#4B5FAC
accent
#68DF48
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #796722

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

Preview Lab → · Contrast checker → · Palette generator →

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