#797E55#797E55

#797E55 is a mid, muted yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.059 H 113.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#797E55
RGBrgb(121, 126, 85)
HSLhsl(67, 19%, 41%)
HSVhsv(67, 33%, 49%)
CMYKcmyk(4%, 0%, 32.5%, 50.6%)
CIE-LABlab(51.43, -9.02, 21.75)
CIE-LCHlch(51.43, 23.55, 112.51°)
OKLaboklab(57.81% -0.024 0.0542)
OKLCHoklch(57.81% 0.059 113.9)
XYZxyz(16.9857, 19.6427, 11.4892)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E55 #5A557E
analogous
#7E6F55 #797E55 #657E55
triadic
#797E55 #55797E #7E5579
tetradic
#797E55 #557E6F #5A557E #7E5565
square
#797E55 #557E6F #5A557E #7E5565
split-complementary
#797E55 #55657E #6F557E
monochromatic
#333524 #56593C #797E55 #9A9F71 #B4B896

Accessibility & contrast

On white

4.26
#797E55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#797E55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E55
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E55#FFFFFF#000000##000000
##797E551.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A52
Deuteranopia (green-blind)
#847B57
Tritanopia (blue-blind)
#7E7973
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797e55;
/* rgb */ color: rgb(121, 126, 85);
/* oklch */ color: oklch(57.8% 0.059 113.9);
Tailwind
colors: {
  custom: {
    50: '#a0a385',
    500: '#797e55',
    950: '#000000',
  },
}
SCSS
$custom: #797e55;
$custom-light: #a0a385;
$custom-dark: #000000;
JSON
{
  "hex": "#797e55",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 85
  },
  "hsl": {
    "h": 67.317,
    "s": 19.431,
    "l": 41.373
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.05926,
    "h": 113.9
  },
  "luminance": 0.19643
}

Semantic roles & 50–950 ramp

primary
#797E55
secondary
#8D89A5
accent
#6CBC76
background
#F9FAF8
surface
#F2F3EF
border
#CCCDCA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #797E55

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

Preview Lab → · Contrast checker → · Palette generator →

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