#796E2E#796E2E

#796E2E is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.085 H 99.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#796E2E
RGBrgb(121, 110, 46)
HSLhsl(51, 45%, 33%)
HSVhsv(51, 62%, 47%)
CMYKcmyk(0%, 9.1%, 62%, 52.5%)
CIE-LABlab(46.20, -4.32, 36.46)
CIE-LCHlch(46.20, 36.72, 96.75°)
OKLaboklab(53.47% -0.0143 0.0842)
OKLCHoklch(53.47% 0.085 99.6)
XYZxyz(13.9548, 15.4146, 4.8245)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E2E #2E3979
analogous
#79482E #796E2E #5E792E
triadic
#796E2E #2E796E #6E2E79
tetradic
#796E2E #2E7948 #2E3979 #792E5E
square
#796E2E #2E7948 #2E3979 #792E5E
split-complementary
#796E2E #2E5E79 #482E79
monochromatic
#201D0C #4D461D #796E2E #A5963F #C2B45F

Accessibility & contrast

On white

5.14
#796E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#796E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E2E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E2E#FFFFFF#000000##FFFFFF
##796E2E1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B27
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#826660
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e2e;
/* rgb */ color: rgb(121, 110, 46);
/* oklch */ color: oklch(53.5% 0.085 99.6);
Tailwind
colors: {
  custom: {
    50: '#a29769',
    500: '#796e2e',
    950: '#000000',
  },
}
SCSS
$custom: #796e2e;
$custom-light: #a29769;
$custom-dark: #000000;
JSON
{
  "hex": "#796e2e",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 46
  },
  "hsl": {
    "h": 51.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53471,
    "c": 0.08535,
    "h": 99.6
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#796E2E
secondary
#5A65A9
accent
#66D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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