#797D41#797D41

#797D41 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.083 H 112.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#797D41
RGBrgb(121, 125, 65)
HSLhsl(64, 32%, 37%)
HSVhsv(64, 48%, 49%)
CMYKcmyk(3.2%, 0%, 48%, 51%)
CIE-LABlab(50.82, -10.95, 32.01)
CIE-LCHlch(50.82, 33.83, 108.88°)
OKLaboklab(57.22% -0.0311 0.0765)
OKLCHoklch(57.22% 0.083 112.1)
XYZxyz(16.1732, 19.1141, 7.8374)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D41 #45417D
analogous
#7D6341 #797D41 #5B7D41
triadic
#797D41 #41797D #7D4179
tetradic
#797D41 #417D63 #45417D #7D415B
square
#797D41 #417D63 #45417D #7D415B
split-complementary
#797D41 #415B7D #63417D
monochromatic
#2B2C17 #52552C #797D41 #A0A556 #B7BB7D

Accessibility & contrast

On white

4.35
#797D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#797D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D41
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D41#FFFFFF#000000##000000
##797D411.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783C
Deuteranopia (green-blind)
#857A44
Tritanopia (blue-blind)
#80776F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797d41;
/* rgb */ color: rgb(121, 125, 65);
/* oklch */ color: oklch(57.2% 0.083 112.1);
Tailwind
colors: {
  custom: {
    50: '#a1a277',
    500: '#797d41',
    950: '#000000',
  },
}
SCSS
$custom: #797d41;
$custom-light: #a1a277;
$custom-dark: #000000;
JSON
{
  "hex": "#797d41",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 64,
    "s": 31.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.08259,
    "h": 112.1
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#797D41
secondary
#7774A6
accent
#60C867
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0F09
muted
#7F7E7B

Preview Lab

Preview with #797D41

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

Preview Lab → · Contrast checker → · Palette generator →

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