#797C41#797C41

#797C41 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.081 H 111.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#797C41
RGBrgb(121, 124, 65)
HSLhsl(63, 31%, 37%)
HSVhsv(63, 48%, 49%)
CMYKcmyk(2.4%, 0%, 47.6%, 51.4%)
CIE-LABlab(50.53, -10.40, 31.65)
CIE-LCHlch(50.53, 33.32, 108.19°)
OKLaboklab(56.99% -0.0295 0.0757)
OKLCHoklch(56.99% 0.081 111.3)
XYZxyz(16.0472, 18.8622, 7.7954)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C41 #44417C
analogous
#7C6241 #797C41 #5C7C41
triadic
#797C41 #41797C #7C4179
tetradic
#797C41 #417C62 #44417C #7C415C
square
#797C41 #417C62 #44417C #7C415C
split-complementary
#797C41 #415C7C #62417C
monochromatic
#2B2C17 #52542C #797C41 #A0A456 #B8BB7D

Accessibility & contrast

On white

4.40
#797C41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#797C41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C41
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C41#FFFFFF#000000##000000
##797C411.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84773C
Deuteranopia (green-blind)
#847944
Tritanopia (blue-blind)
#80766E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797c41;
/* rgb */ color: rgb(121, 124, 65);
/* oklch */ color: oklch(57.0% 0.081 111.3);
Tailwind
colors: {
  custom: {
    50: '#a1a177',
    500: '#797c41',
    950: '#000000',
  },
}
SCSS
$custom: #797c41;
$custom-light: #a1a177;
$custom-dark: #000000;
JSON
{
  "hex": "#797c41",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 65
  },
  "hsl": {
    "h": 63.051,
    "s": 31.217,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56987,
    "c": 0.08128,
    "h": 111.3
  },
  "luminance": 0.18862
}

Semantic roles & 50–950 ramp

primary
#797C41
secondary
#7673A5
accent
#60C766
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0F09
muted
#7F7E7B

Preview Lab

Preview with #797C41

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

Preview Lab → · Contrast checker → · Palette generator →

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