#796922#796922

#796922 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.091 H 96.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#796922
RGBrgb(121, 105, 34)
HSLhsl(49, 56%, 30%)
HSVhsv(49, 72%, 47%)
CMYKcmyk(0%, 13.2%, 71.9%, 52.5%)
CIE-LABlab(44.64, -2.27, 40.51)
CIE-LCHlch(44.64, 40.58, 93.21°)
OKLaboklab(52.2% -0.01 0.0908)
OKLCHoklch(52.2% 0.091 96.3)
XYZxyz(13.2261, 14.2843, 3.5735)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796922 #223279
analogous
#793E22 #796922 #5D7922
triadic
#796922 #227969 #692279
tetradic
#796922 #22793E #223279 #79225D
square
#796922 #22793E #223279 #79225D
split-complementary
#796922 #225D79 #3E2279
monochromatic
#191607 #494015 #796922 #A9922F #CCB449

Accessibility & contrast

On white

5.44
#796922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#796922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796922
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796922#FFFFFF#000000##FFFFFF
##7969221.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746718
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#83615B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796922;
/* rgb */ color: rgb(121, 105, 34);
/* oklch */ color: oklch(52.2% 0.091 96.3);
Tailwind
colors: {
  custom: {
    50: '#a39362',
    500: '#796922',
    950: '#000000',
  },
}
SCSS
$custom: #796922;
$custom-light: #a39362;
$custom-dark: #000000;
JSON
{
  "hex": "#796922",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 34
  },
  "hsl": {
    "h": 48.966,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.522,
    "c": 0.09132,
    "h": 96.3
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#796922
secondary
#4B5DAC
accent
#64DF48
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #796922

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

Preview Lab → · Contrast checker → · Palette generator →

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