#797244#797244

#797244 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.065 H 100.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#797244
RGBrgb(121, 114, 68)
HSLhsl(52, 28%, 37%)
HSVhsv(52, 44%, 47%)
CMYKcmyk(0%, 5.8%, 43.8%, 52.5%)
CIE-LABlab(47.65, -4.46, 26.43)
CIE-LCHlch(47.65, 26.80, 99.58°)
OKLaboklab(54.71% -0.0122 0.0642)
OKLCHoklch(54.71% 0.065 100.7)
XYZxyz(14.9462, 16.5174, 7.8686)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797244 #444B79
analogous
#795844 #797244 #667944
triadic
#797244 #447972 #724479
tetradic
#797244 #447958 #444B79 #794466
square
#797244 #447958 #444B79 #794466
split-complementary
#797244 #446679 #584479
monochromatic
#2B2818 #524D2E #797244 #A0975A #B8B080

Accessibility & contrast

On white

4.88
#797244 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#797244 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797244
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797244#FFFFFF#000000##FFFFFF
##7972441.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F40
Deuteranopia (green-blind)
#7C7246
Tritanopia (blue-blind)
#806C67
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797244;
/* rgb */ color: rgb(121, 114, 68);
/* oklch */ color: oklch(54.7% 0.065 100.7);
Tailwind
colors: {
  custom: {
    50: '#a19a78',
    500: '#797244',
    950: '#000000',
  },
}
SCSS
$custom: #797244;
$custom-light: #a19a78;
$custom-dark: #000000;
JSON
{
  "hex": "#797244",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 68
  },
  "hsl": {
    "h": 52.075,
    "s": 28.042,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.06538,
    "h": 100.7
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#797244
secondary
#767CA3
accent
#70C463
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797244

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

Preview Lab → · Contrast checker → · Palette generator →

#797244 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva