#796E26#796E26

#796E26 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.092 H 100.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#796E26
RGBrgb(121, 110, 38)
HSLhsl(52, 52%, 31%)
HSVhsv(52, 69%, 47%)
CMYKcmyk(0%, 9.1%, 68.6%, 52.5%)
CIE-LABlab(46.12, -4.89, 40.23)
CIE-LCHlch(46.12, 40.53, 96.93°)
OKLaboklab(53.39% -0.0169 0.0909)
OKLCHoklch(53.39% 0.092 100.6)
XYZxyz(13.8115, 15.3573, 4.0701)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E26 #263179
analogous
#794426 #796E26 #5A7926
triadic
#796E26 #26796E #6E2679
tetradic
#796E26 #267944 #263179 #79265A
square
#796E26 #267944 #263179 #79265A
split-complementary
#796E26 #265A79 #442679
monochromatic
#1C1909 #4A4417 #796E26 #A89835 #C8B951

Accessibility & contrast

On white

5.16
#796E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#796E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E26
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E26#FFFFFF#000000##FFFFFF
##796E261.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1D
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#82665F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e26;
/* rgb */ color: rgb(121, 110, 38);
/* oklch */ color: oklch(53.4% 0.092 100.6);
Tailwind
colors: {
  custom: {
    50: '#a29764',
    500: '#796e26',
    950: '#000000',
  },
}
SCSS
$custom: #796e26;
$custom-light: #a29764;
$custom-dark: #000000;
JSON
{
  "hex": "#796e26",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 38
  },
  "hsl": {
    "h": 52.048,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53385,
    "c": 0.09246,
    "h": 100.6
  },
  "luminance": 0.15357
}

Semantic roles & 50–950 ramp

primary
#796E26
secondary
#505CAB
accent
#5FDC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796E26

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

Preview Lab → · Contrast checker → · Palette generator →

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