#797616#797616

#797616 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.1% C 0.111 H 107.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#797616
RGBrgb(121, 118, 22)
HSLhsl(58, 69%, 28%)
HSVhsv(58, 82%, 47%)
CMYKcmyk(0%, 2.5%, 81.8%, 52.5%)
CIE-LABlab(48.36, -10.20, 48.66)
CIE-LCHlch(48.36, 49.72, 101.83°)
OKLaboklab(55.13% -0.0336 0.1057)
OKLCHoklch(55.13% 0.111 107.6)
XYZxyz(14.5090, 17.0802, 3.2914)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797616 #161979
analogous
#794416 #797616 #4A7916
triadic
#797616 #167976 #761679
tetradic
#797616 #167944 #161979 #79164A
square
#797616 #167944 #161979 #79164A
split-complementary
#797616 #164A79 #441679
monochromatic
#1A1905 #45430D #797616 #ADA91F #D9D430

Accessibility & contrast

On white

4.76
#797616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#797616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797616
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797616#FFFFFF#000000##FFFFFF
##7976161.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#826E64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797616;
/* rgb */ color: rgb(121, 118, 22);
/* oklch */ color: oklch(55.1% 0.111 107.6);
Tailwind
colors: {
  custom: {
    50: '#a39d5d',
    500: '#797616',
    950: '#000000',
  },
}
SCSS
$custom: #797616;
$custom-light: #a39d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#797616",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 58.182,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55134,
    "c": 0.11088,
    "h": 107.6
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#797616
secondary
#3D40AE
accent
#41EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #797616

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

Preview Lab → · Contrast checker → · Palette generator →

#797616 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva