#797646#797646

#797646 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.068 H 105.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#797646
RGBrgb(121, 118, 70)
HSLhsl(56, 27%, 37%)
HSVhsv(56, 42%, 47%)
CMYKcmyk(0%, 2.5%, 42.1%, 52.5%)
CIE-LABlab(48.84, -6.49, 26.82)
CIE-LCHlch(48.84, 27.60, 103.61°)
OKLaboklab(55.67% -0.0178 0.0653)
OKLCHoklch(55.67% 0.068 105.3)
XYZxyz(15.4693, 17.4644, 8.3492)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797646 #464979
analogous
#795D46 #797646 #627946
triadic
#797646 #467976 #764679
tetradic
#797646 #46795D #464979 #794662
square
#797646 #46795D #464979 #794662
split-complementary
#797646 #466279 #5D4679
monochromatic
#2B2A19 #525030 #797646 #A09C5C #B7B482

Accessibility & contrast

On white

4.67
#797646 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#797646 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797646
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797646#FFFFFF#000000##FFFFFF
##7976461.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7342
Deuteranopia (green-blind)
#7F7548
Tritanopia (blue-blind)
#80706A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797646;
/* rgb */ color: rgb(121, 118, 70);
/* oklch */ color: oklch(55.7% 0.068 105.3);
Tailwind
colors: {
  custom: {
    50: '#a19d7a',
    500: '#797646',
    950: '#000000',
  },
}
SCSS
$custom: #797646;
$custom-light: #a19d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#797646",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 70
  },
  "hsl": {
    "h": 56.471,
    "s": 26.702,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.06765,
    "h": 105.3
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#797646
secondary
#787BA3
accent
#6AC365
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797646

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

Preview Lab → · Contrast checker → · Palette generator →

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