#797E50#797E50

#797E50 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.066 H 113.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#797E50
RGBrgb(121, 126, 80)
HSLhsl(67, 22%, 40%)
HSVhsv(67, 37%, 49%)
CMYKcmyk(4%, 0%, 36.5%, 50.6%)
CIE-LABlab(51.34, -9.70, 24.45)
CIE-LCHlch(51.34, 26.31, 111.64°)
OKLaboklab(57.71% -0.0263 0.0603)
OKLCHoklch(57.71% 0.066 113.5)
XYZxyz(16.7941, 19.5660, 10.4798)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E50 #55507E
analogous
#7E6C50 #797E50 #627E50
triadic
#797E50 #50797E #7E5079
tetradic
#797E50 #507E6C #55507E #7E5062
square
#797E50 #507E6C #55507E #7E5062
split-complementary
#797E50 #50627E #6C507E
monochromatic
#313320 #555938 #797E50 #9BA16A #B4B890

Accessibility & contrast

On white

4.27
#797E50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#797E50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E50
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E50#FFFFFF#000000##000000
##797E501.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A4D
Deuteranopia (green-blind)
#847B52
Tritanopia (blue-blind)
#7E7972
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797e50;
/* rgb */ color: rgb(121, 126, 80);
/* oklch */ color: oklch(57.7% 0.066 113.5);
Tailwind
colors: {
  custom: {
    50: '#a0a381',
    500: '#797e50',
    950: '#000000',
  },
}
SCSS
$custom: #797e50;
$custom-light: #a0a381;
$custom-dark: #000000;
JSON
{
  "hex": "#797e50",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 80
  },
  "hsl": {
    "h": 66.522,
    "s": 22.33,
    "l": 40.392
  },
  "oklch": {
    "l": 0.57713,
    "c": 0.06578,
    "h": 113.5
  },
  "luminance": 0.19566
}

Semantic roles & 50–950 ramp

primary
#797E50
secondary
#8884A5
accent
#69BF72
background
#F9FAF7
surface
#F2F3EE
border
#CCCDC9
text
#0F0F0A
muted
#7E7F7C

Preview Lab

Preview with #797E50

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

Preview Lab → · Contrast checker → · Palette generator →

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