#797D53#797D53

#797D53 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.060 H 112.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#797D53
RGBrgb(121, 125, 83)
HSLhsl(66, 20%, 41%)
HSVhsv(66, 34%, 49%)
CMYKcmyk(3.2%, 0%, 33.6%, 51%)
CIE-LABlab(51.10, -8.74, 22.45)
CIE-LCHlch(51.10, 24.09, 111.27°)
OKLaboklab(57.54% -0.0233 0.0558)
OKLCHoklch(57.54% 0.06 112.7)
XYZxyz(16.7802, 19.3569, 11.0342)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D53 #57537D
analogous
#7D6C53 #797D53 #647D53
triadic
#797D53 #53797D #7D5379
tetradic
#797D53 #537D6C #57537D #7D5364
square
#797D53 #537D6C #57537D #7D5364
split-complementary
#797D53 #53647D #6C537D
monochromatic
#323322 #55583B #797D53 #9A9F6E #B4B793

Accessibility & contrast

On white

4.31
#797D53 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#797D53 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D53
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D53#FFFFFF#000000##000000
##797D531.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#837950
Deuteranopia (green-blind)
#837A55
Tritanopia (blue-blind)
#7E7872
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797d53;
/* rgb */ color: rgb(121, 125, 83);
/* oklch */ color: oklch(57.5% 0.060 112.7);
Tailwind
colors: {
  custom: {
    50: '#a0a284',
    500: '#797d53',
    950: '#000000',
  },
}
SCSS
$custom: #797d53;
$custom-light: #a0a284;
$custom-dark: #000000;
JSON
{
  "hex": "#797d53",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 83
  },
  "hsl": {
    "h": 65.714,
    "s": 20.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.57538,
    "c": 0.06044,
    "h": 112.7
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#797D53
secondary
#8A87A5
accent
#6BBD73
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0F0B
muted
#7E7E7C

Preview Lab

Preview with #797D53

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

Preview Lab → · Contrast checker → · Palette generator →

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