#797452#797452

#797452 is a mid, muted yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.050 H 100.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#797452
RGBrgb(121, 116, 82)
HSLhsl(52, 19%, 40%)
HSVhsv(52, 32%, 47%)
CMYKcmyk(0%, 4.1%, 32.2%, 52.5%)
CIE-LABlab(48.47, -3.81, 19.52)
CIE-LCHlch(48.47, 19.89, 101.03°)
OKLaboklab(55.44% -0.0093 0.0488)
OKLCHoklch(55.44% 0.05 100.8)
XYZxyz(15.6537, 17.1653, 10.4696)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797452 #525779
analogous
#796152 #797452 #6B7952
triadic
#797452 #527974 #745279
tetradic
#797452 #527961 #525779 #79526B
square
#797452 #527961 #525779 #79526B
split-complementary
#797452 #526B79 #615279
monochromatic
#302E21 #555139 #797452 #9C966C #B4B091

Accessibility & contrast

On white

4.74
#797452 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#797452 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797452
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797452#FFFFFF#000000##FFFFFF
##7974521.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7250
Deuteranopia (green-blind)
#7C7453
Tritanopia (blue-blind)
#7F6F6B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797452;
/* rgb */ color: rgb(121, 116, 82);
/* oklch */ color: oklch(55.4% 0.050 100.8);
Tailwind
colors: {
  custom: {
    50: '#a09b83',
    500: '#797452',
    950: '#000000',
  },
}
SCSS
$custom: #797452;
$custom-light: #a09b83;
$custom-dark: #000000;
JSON
{
  "hex": "#797452",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 82
  },
  "hsl": {
    "h": 52.308,
    "s": 19.212,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.0497,
    "h": 100.8
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#797452
secondary
#8589A2
accent
#76BC6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797452

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

Preview Lab → · Contrast checker → · Palette generator →

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