#797F44#797F44

#797F44 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.082 H 113.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#797F44
RGBrgb(121, 127, 68)
HSLhsl(66, 30%, 38%)
HSVhsv(66, 46%, 50%)
CMYKcmyk(4.7%, 0%, 46.5%, 50.2%)
CIE-LABlab(51.45, -11.72, 31.18)
CIE-LCHlch(51.45, 33.31, 110.59°)
OKLaboklab(57.74% -0.0329 0.0749)
OKLCHoklch(57.74% 0.082 113.7)
XYZxyz(16.5181, 19.6613, 8.3926)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F44 #4A447F
analogous
#7F6744 #797F44 #5B7F44
triadic
#797F44 #44797F #7F4479
tetradic
#797F44 #447F67 #4A447F #7F445B
square
#797F44 #447F67 #4A447F #7F445B
split-complementary
#797F44 #445B7F #67447F
monochromatic
#2D2F19 #53572F #797F44 #9FA65A #B6BC82

Accessibility & contrast

On white

4.26
#797F44 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#797F44 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F44
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F44#FFFFFF#000000##000000
##797F441.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3F
Deuteranopia (green-blind)
#867B47
Tritanopia (blue-blind)
#7F7971
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797f44;
/* rgb */ color: rgb(121, 127, 68);
/* oklch */ color: oklch(57.7% 0.082 113.7);
Tailwind
colors: {
  custom: {
    50: '#a1a479',
    500: '#797f44',
    950: '#000000',
  },
}
SCSS
$custom: #797f44;
$custom-light: #a1a479;
$custom-dark: #000000;
JSON
{
  "hex": "#797f44",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 68
  },
  "hsl": {
    "h": 66.102,
    "s": 30.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57739,
    "c": 0.08185,
    "h": 113.7
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#797F44
secondary
#7D78A7
accent
#61C66C
background
#FAFAF7
surface
#F3F3ED
border
#CDCDC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #797F44

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

Preview Lab → · Contrast checker → · Palette generator →

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