#796E16#796E16

#796E16 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.3% C 0.103 H 101.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#796E16
RGBrgb(121, 110, 22)
HSLhsl(53, 69%, 28%)
HSVhsv(53, 82%, 47%)
CMYKcmyk(0%, 9.1%, 81.8%, 52.5%)
CIE-LABlab(46.01, -5.72, 46.57)
CIE-LCHlch(46.01, 46.92, 97.00°)
OKLaboklab(53.26% -0.0211 0.1012)
OKLCHoklch(53.26% 0.103 101.8)
XYZxyz(13.6066, 15.2754, 2.9906)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E16 #162179
analogous
#793C16 #796E16 #527916
triadic
#796E16 #16796E #6E1679
tetradic
#796E16 #16793C #162179 #791652
square
#796E16 #16793C #162179 #791652
split-complementary
#796E16 #165279 #3C1679
monochromatic
#1A1805 #453F0D #796E16 #AD9D1F #D9C730

Accessibility & contrast

On white

5.18
#796E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#796E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E16
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E16#FFFFFF#000000##FFFFFF
##796E161.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#7C6F1D
Tritanopia (blue-blind)
#83655E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e16;
/* rgb */ color: rgb(121, 110, 22);
/* oklch */ color: oklch(53.3% 0.103 101.8);
Tailwind
colors: {
  custom: {
    50: '#a3975c',
    500: '#796e16',
    950: '#000000',
  },
}
SCSS
$custom: #796e16;
$custom-light: #a3975c;
$custom-dark: #000000;
JSON
{
  "hex": "#796e16",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 53.333,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.10334,
    "h": 101.8
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#796E16
secondary
#3D49AE
accent
#4FEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #796E16

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

Preview Lab → · Contrast checker → · Palette generator →

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