#797C61#797C61

#797C61 is a mid, muted yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.040 H 112.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#797C61
RGBrgb(121, 124, 97)
HSLhsl(67, 12%, 43%)
HSVhsv(67, 22%, 49%)
CMYKcmyk(2.4%, 0%, 21.8%, 51.4%)
CIE-LABlab(51.09, -6.08, 14.41)
CIE-LCHlch(51.09, 15.64, 112.88°)
OKLaboklab(57.62% -0.0154 0.0367)
OKLCHoklch(57.62% 0.04 112.8)
XYZxyz(17.2503, 19.3435, 14.1318)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C61 #64617C
analogous
#7C7161 #797C61 #6B7C61
triadic
#797C61 #61797C #7C6179
tetradic
#797C61 #617C71 #64617C #7C616B
square
#797C61 #617C71 #64617C #7C616B
split-complementary
#797C61 #616B7C #71617C
monochromatic
#36372B #575A46 #797C61 #989B7F #B4B6A2

Accessibility & contrast

On white

4.31
#797C61 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#797C61 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C61
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C61#FFFFFF#000000##000000
##797C611.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80795F
Deuteranopia (green-blind)
#807A62
Tritanopia (blue-blind)
#7C7975
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797c61;
/* rgb */ color: rgb(121, 124, 97);
/* oklch */ color: oklch(57.6% 0.040 112.8);
Tailwind
colors: {
  custom: {
    50: '#a0a18e',
    500: '#797c61',
    950: '#000000',
  },
}
SCSS
$custom: #797c61;
$custom-light: #a0a18e;
$custom-dark: #000000;
JSON
{
  "hex": "#797c61",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 97
  },
  "hsl": {
    "h": 66.667,
    "s": 12.217,
    "l": 43.333
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.03984,
    "h": 112.8
  },
  "luminance": 0.19343
}

Semantic roles & 50–950 ramp

primary
#797C61
secondary
#9694A5
accent
#73B57A
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0C
muted
#7E7E7D

Preview Lab

Preview with #797C61

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

Preview Lab → · Contrast checker → · Palette generator →

#797C61 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva