#797241#797241

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

Color values

HEX#797241
RGBrgb(121, 114, 65)
HSLhsl(53, 30%, 36%)
HSVhsv(53, 46%, 47%)
CMYKcmyk(0%, 5.8%, 46.3%, 52.5%)
CIE-LABlab(47.60, -4.80, 28.04)
CIE-LCHlch(47.60, 28.45, 99.71°)
OKLaboklab(54.66% -0.0134 0.0677)
OKLCHoklch(54.66% 0.069 101.2)
XYZxyz(14.8570, 16.4817, 7.3987)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797241 #414879
analogous
#795641 #797241 #647941
triadic
#797241 #417972 #724179
tetradic
#797241 #417956 #414879 #794164
square
#797241 #417956 #414879 #794164
split-complementary
#797241 #416479 #564179
monochromatic
#292716 #514C2C #797241 #A19856 #B9B17C

Accessibility & contrast

On white

4.89
#797241 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #797241
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797241#FFFFFF#000000##FFFFFF
##7972411.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3D
Deuteranopia (green-blind)
#7C7243
Tritanopia (blue-blind)
#816C66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797241;
/* rgb */ color: rgb(121, 114, 65);
/* oklch */ color: oklch(54.7% 0.069 101.2);
Tailwind
colors: {
  custom: {
    50: '#a19a76',
    500: '#797241',
    950: '#000000',
  },
}
SCSS
$custom: #797241;
$custom-light: #a19a76;
$custom-dark: #000000;
JSON
{
  "hex": "#797241",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 65
  },
  "hsl": {
    "h": 52.5,
    "s": 30.108,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54662,
    "c": 0.06901,
    "h": 101.2
  },
  "luminance": 0.16481
}

Semantic roles & 50–950 ramp

primary
#797241
secondary
#7279A3
accent
#6EC661
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #797241

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

Preview Lab → · Contrast checker → · Palette generator →

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