#797C58#797C58

#797C58 is a mid, muted yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.052 H 111.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#797C58
RGBrgb(121, 124, 88)
HSLhsl(65, 17%, 42%)
HSVhsv(65, 29%, 49%)
CMYKcmyk(2.4%, 0%, 29%, 51.4%)
CIE-LABlab(50.90, -7.47, 19.34)
CIE-LCHlch(50.90, 20.73, 111.12°)
OKLaboklab(57.41% -0.0195 0.0485)
OKLCHoklch(57.41% 0.052 111.9)
XYZxyz(16.8542, 19.1850, 12.0458)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C58 #5B587C
analogous
#7C6D58 #797C58 #677C58
triadic
#797C58 #58797C #7C5879
tetradic
#797C58 #587C6D #5B587C #7C5867
square
#797C58 #587C6D #5B587C #7C5867
split-complementary
#797C58 #58677C #6D587C
monochromatic
#333425 #56583F #797C58 #999D74 #B4B698

Accessibility & contrast

On white

4.34
#797C58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#797C58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C58
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C58#FFFFFF#000000##000000
##797C581.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#817956
Deuteranopia (green-blind)
#827A59
Tritanopia (blue-blind)
#7E7873
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797c58;
/* rgb */ color: rgb(121, 124, 88);
/* oklch */ color: oklch(57.4% 0.052 111.9);
Tailwind
colors: {
  custom: {
    50: '#a0a187',
    500: '#797c58',
    950: '#000000',
  },
}
SCSS
$custom: #797c58;
$custom-light: #a0a187;
$custom-dark: #000000;
JSON
{
  "hex": "#797c58",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 88
  },
  "hsl": {
    "h": 65,
    "s": 16.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5741,
    "c": 0.05231,
    "h": 111.9
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#797C58
secondary
#8E8CA4
accent
#6EBA74
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0F0B
muted
#7E7E7C

Preview Lab

Preview with #797C58

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

Preview Lab → · Contrast checker → · Palette generator →

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