#796E28#796E28

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

Color values

HEX#796E28
RGBrgb(121, 110, 40)
HSLhsl(52, 50%, 32%)
HSVhsv(52, 67%, 47%)
CMYKcmyk(0%, 9.1%, 66.9%, 52.5%)
CIE-LABlab(46.14, -4.76, 39.32)
CIE-LCHlch(46.14, 39.61, 96.90°)
OKLaboklab(53.41% -0.0163 0.0893)
OKLCHoklch(53.41% 0.091 100.3)
XYZxyz(13.8447, 15.3706, 4.2446)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E28 #283379
analogous
#794628 #796E28 #5C7928
triadic
#796E28 #28796E #6E2879
tetradic
#796E28 #287946 #283379 #79285C
square
#796E28 #287946 #283379 #79285C
split-complementary
#796E28 #285C79 #462879
monochromatic
#1D1A0A #4B4419 #796E28 #A79837 #C7B755

Accessibility & contrast

On white

5.15
#796E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #796E28
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E28#FFFFFF#000000##FFFFFF
##796E281.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796e28;
/* rgb */ color: rgb(121, 110, 40);
/* oklch */ color: oklch(53.4% 0.091 100.3);
Tailwind
colors: {
  custom: {
    50: '#a29766',
    500: '#796e28',
    950: '#000000',
  },
}
SCSS
$custom: #796e28;
$custom-light: #a29766;
$custom-dark: #000000;
JSON
{
  "hex": "#796e28",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 40
  },
  "hsl": {
    "h": 51.852,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.09079,
    "h": 100.3
  },
  "luminance": 0.1537
}

Semantic roles & 50–950 ramp

primary
#796E28
secondary
#525EAB
accent
#61DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796E28

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

Preview Lab → · Contrast checker → · Palette generator →

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