#796622#796622

#796622 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.5% C 0.089 H 93.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#796622
RGBrgb(121, 102, 34)
HSLhsl(47, 56%, 30%)
HSVhsv(47, 72%, 47%)
CMYKcmyk(0%, 15.7%, 71.9%, 52.5%)
CIE-LABlab(43.78, -0.53, 39.63)
CIE-LCHlch(43.78, 39.64, 90.77°)
OKLaboklab(51.52% -0.005 0.0889)
OKLCHoklch(51.52% 0.089 93.2)
XYZxyz(12.9259, 13.6839, 3.4735)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796622 #223579
analogous
#793B22 #796622 #607922
triadic
#796622 #227966 #662279
tetradic
#796622 #22793B #223579 #792260
square
#796622 #22793B #223579 #792260
split-complementary
#796622 #226079 #3B2279
monochromatic
#191507 #493E15 #796622 #A98E2F #CCAF49

Accessibility & contrast

On white

5.62
#796622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#796622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796622
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796622#FFFFFF#000000##FFFFFF
##7966221.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716419
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#835E58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #796622;
/* rgb */ color: rgb(121, 102, 34);
/* oklch */ color: oklch(51.5% 0.089 93.2);
Tailwind
colors: {
  custom: {
    50: '#a39161',
    500: '#796622',
    950: '#000000',
  },
}
SCSS
$custom: #796622;
$custom-light: #a39161;
$custom-dark: #000000;
JSON
{
  "hex": "#796622",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 34
  },
  "hsl": {
    "h": 46.897,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.08904,
    "h": 93.2
  },
  "luminance": 0.13683
}

Semantic roles & 50–950 ramp

primary
#796622
secondary
#4B60AC
accent
#69DF48
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #796622

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

Preview Lab → · Contrast checker → · Palette generator →

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