#796F41#796F41

#796F41 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.066 H 97.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#796F41
RGBrgb(121, 111, 65)
HSLhsl(49, 30%, 36%)
HSVhsv(49, 46%, 47%)
CMYKcmyk(0%, 8.3%, 46.3%, 52.5%)
CIE-LABlab(46.73, -3.08, 26.96)
CIE-LCHlch(46.73, 27.13, 96.53°)
OKLaboklab(53.97% -0.0085 0.0653)
OKLCHoklch(53.97% 0.066 97.4)
XYZxyz(14.5241, 15.8160, 7.2877)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F41 #414B79
analogous
#795341 #796F41 #677941
triadic
#796F41 #41796F #6F4179
tetradic
#796F41 #417953 #414B79 #794167
square
#796F41 #417953 #414B79 #794167
split-complementary
#796F41 #416779 #534179
monochromatic
#292616 #514A2C #796F41 #A19456 #B9AE7C

Accessibility & contrast

On white

5.04
#796F41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#796F41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F41
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F41#FFFFFF#000000##FFFFFF
##796F411.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D3D
Deuteranopia (green-blind)
#7A7043
Tritanopia (blue-blind)
#816964
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #796f41;
/* rgb */ color: rgb(121, 111, 65);
/* oklch */ color: oklch(54.0% 0.066 97.4);
Tailwind
colors: {
  custom: {
    50: '#a19876',
    500: '#796f41',
    950: '#000000',
  },
}
SCSS
$custom: #796f41;
$custom-light: #a19876;
$custom-dark: #000000;
JSON
{
  "hex": "#796f41",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 65
  },
  "hsl": {
    "h": 49.286,
    "s": 30.108,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.0658,
    "h": 97.4
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#796F41
secondary
#727BA3
accent
#73C661
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #796F41

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

Preview Lab → · Contrast checker → · Palette generator →

#796F41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva