#797B50#797B50

#797B50 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.0% C 0.062 H 110.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#797B50
RGBrgb(121, 123, 80)
HSLhsl(63, 21%, 40%)
HSVhsv(63, 35%, 48%)
CMYKcmyk(1.6%, 0%, 35%, 51.8%)
CIE-LABlab(50.46, -8.03, 23.31)
CIE-LCHlch(50.46, 24.65, 109.02°)
OKLaboklab(57.01% -0.0215 0.0577)
OKLCHoklch(57.01% 0.062 110.5)
XYZxyz(16.4162, 18.8103, 10.3538)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B50 #52507B
analogous
#7B6850 #797B50 #647B50
triadic
#797B50 #50797B #7B5079
tetradic
#797B50 #507B68 #52507B #7B5064
square
#797B50 #507B68 #52507B #7B5064
split-complementary
#797B50 #50647B #68507B
monochromatic
#303120 #555638 #797B50 #9C9E6A #B4B68F

Accessibility & contrast

On white

4.41
#797B50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#797B50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B50
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B50#FFFFFF#000000##000000
##797B501.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81774D
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#7F7670
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797b50;
/* rgb */ color: rgb(121, 123, 80);
/* oklch */ color: oklch(57.0% 0.062 110.5);
Tailwind
colors: {
  custom: {
    50: '#a0a181',
    500: '#797b50',
    950: '#000000',
  },
}
SCSS
$custom: #797b50;
$custom-light: #a0a181;
$custom-dark: #000000;
JSON
{
  "hex": "#797b50",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 80
  },
  "hsl": {
    "h": 62.791,
    "s": 21.182,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.06153,
    "h": 110.5
  },
  "luminance": 0.1881
}

Semantic roles & 50–950 ramp

primary
#797B50
secondary
#8583A3
accent
#6ABE6E
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797B50

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

Preview Lab → · Contrast checker → · Palette generator →

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