#797E53#797E53

#797E53 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.062 H 113.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#797E53
RGBrgb(121, 126, 83)
HSLhsl(67, 21%, 41%)
HSVhsv(67, 34%, 49%)
CMYKcmyk(4%, 0%, 34.1%, 50.6%)
CIE-LABlab(51.40, -9.30, 22.83)
CIE-LCHlch(51.40, 24.65, 112.15°)
OKLaboklab(57.77% -0.0249 0.0567)
OKLCHoklch(57.77% 0.062 113.8)
XYZxyz(16.9074, 19.6114, 11.0766)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E53 #58537E
analogous
#7E6D53 #797E53 #637E53
triadic
#797E53 #53797E #7E5379
tetradic
#797E53 #537E6D #58537E #7E5363
square
#797E53 #537E6D #58537E #7E5363
split-complementary
#797E53 #53637E #6D537E
monochromatic
#323422 #56593B #797E53 #9AA06E #B4B893

Accessibility & contrast

On white

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

On black

4.92
#797E53 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E53
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E53#FFFFFF#000000##000000
##797E531.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A50
Deuteranopia (green-blind)
#847B55
Tritanopia (blue-blind)
#7E7973
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797e53;
/* rgb */ color: rgb(121, 126, 83);
/* oklch */ color: oklch(57.8% 0.062 113.8);
Tailwind
colors: {
  custom: {
    50: '#a0a384',
    500: '#797e53',
    950: '#000000',
  },
}
SCSS
$custom: #797e53;
$custom-light: #a0a384;
$custom-dark: #000000;
JSON
{
  "hex": "#797e53",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 83
  },
  "hsl": {
    "h": 66.977,
    "s": 20.574,
    "l": 40.98
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.06189,
    "h": 113.8
  },
  "luminance": 0.19611
}

Semantic roles & 50–950 ramp

primary
#797E53
secondary
#8B87A5
accent
#6BBD74
background
#F9FAF8
surface
#F2F3EF
border
#CCCDCA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #797E53

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

Preview Lab → · Contrast checker → · Palette generator →

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