#797641#797641

#797641 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.074 H 105.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#797641
RGBrgb(121, 118, 65)
HSLhsl(57, 30%, 36%)
HSVhsv(57, 46%, 47%)
CMYKcmyk(0%, 2.5%, 46.3%, 52.5%)
CIE-LABlab(48.77, -7.06, 29.49)
CIE-LCHlch(48.77, 30.32, 103.47°)
OKLaboklab(55.59% -0.0199 0.0709)
OKLCHoklch(55.59% 0.074 105.7)
XYZxyz(15.3180, 17.4039, 7.5524)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797641 #414479
analogous
#795A41 #797641 #607941
triadic
#797641 #417976 #764179
tetradic
#797641 #41795A #414479 #794160
square
#797641 #41795A #414479 #794160
split-complementary
#797641 #416079 #5A4179
monochromatic
#292816 #514F2C #797641 #A19D56 #B9B57C

Accessibility & contrast

On white

4.69
#797641 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#797641 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797641
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797641#FFFFFF#000000##FFFFFF
##7976411.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723D
Deuteranopia (green-blind)
#807543
Tritanopia (blue-blind)
#807069
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797641;
/* rgb */ color: rgb(121, 118, 65);
/* oklch */ color: oklch(55.6% 0.074 105.7);
Tailwind
colors: {
  custom: {
    50: '#a19d77',
    500: '#797641',
    950: '#000000',
  },
}
SCSS
$custom: #797641;
$custom-light: #a19d77;
$custom-dark: #000000;
JSON
{
  "hex": "#797641",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 65
  },
  "hsl": {
    "h": 56.786,
    "s": 30.108,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.07368,
    "h": 105.7
  },
  "luminance": 0.17403
}

Semantic roles & 50–950 ramp

primary
#797641
secondary
#7275A3
accent
#67C661
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #797641

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

Preview Lab → · Contrast checker → · Palette generator →

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