#797E44#797E44

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

Color values

HEX#797E44
RGBrgb(121, 126, 68)
HSLhsl(65, 30%, 38%)
HSVhsv(65, 46%, 49%)
CMYKcmyk(4%, 0%, 46%, 50.6%)
CIE-LABlab(51.16, -11.17, 30.82)
CIE-LCHlch(51.16, 32.78, 109.92°)
OKLaboklab(57.5% -0.0314 0.0741)
OKLCHoklch(57.5% 0.08 113)
XYZxyz(16.3896, 19.4043, 8.3497)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E44 #49447E
analogous
#7E6644 #797E44 #5C7E44
triadic
#797E44 #44797E #7E4479
tetradic
#797E44 #447E66 #49447E #7E445C
square
#797E44 #447E66 #49447E #7E445C
split-complementary
#797E44 #445C7E #66447E
monochromatic
#2D2F19 #53562F #797E44 #9FA65A #B6BB81

Accessibility & contrast

On white

4.30
#797E44 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#797E44 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E44
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E44#FFFFFF#000000##000000
##797E441.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793F
Deuteranopia (green-blind)
#867B47
Tritanopia (blue-blind)
#7F7870
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797e44;
/* rgb */ color: rgb(121, 126, 68);
/* oklch */ color: oklch(57.5% 0.080 113.0);
Tailwind
colors: {
  custom: {
    50: '#a1a379',
    500: '#797e44',
    950: '#000000',
  },
}
SCSS
$custom: #797e44;
$custom-light: #a1a379;
$custom-dark: #000000;
JSON
{
  "hex": "#797e44",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 68
  },
  "hsl": {
    "h": 65.172,
    "s": 29.897,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57504,
    "c": 0.08048,
    "h": 113
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

primary
#797E44
secondary
#7B77A6
accent
#62C66A
background
#FAFAF7
surface
#F3F3ED
border
#CDCDC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #797E44

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

Preview Lab → · Contrast checker → · Palette generator →

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