#797253#797253

#797253 is a mid, muted yellow. Relative luminance 0.167; OKLCH L 55.0% C 0.046 H 96.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#797253
RGBrgb(121, 114, 83)
HSLhsl(49, 19%, 40%)
HSVhsv(49, 31%, 47%)
CMYKcmyk(0%, 5.8%, 31.4%, 52.5%)
CIE-LABlab(47.91, -2.52, 18.20)
CIE-LCHlch(47.91, 18.37, 97.88°)
OKLaboklab(55.01% -0.0055 0.0457)
OKLCHoklch(55.01% 0.046 96.9)
XYZxyz(15.4639, 16.7245, 10.5955)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797253 #535A79
analogous
#795F53 #797253 #6D7953
triadic
#797253 #537972 #725379
tetradic
#797253 #53795F #535A79 #79536D
square
#797253 #53795F #535A79 #79536D
split-complementary
#797253 #536D79 #5F5379
monochromatic
#302E21 #55503A #797253 #9B936E #B4AE92

Accessibility & contrast

On white

4.83
#797253 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#797253 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797253
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797253#FFFFFF#000000##FFFFFF
##7972531.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787051
Deuteranopia (green-blind)
#7A7354
Tritanopia (blue-blind)
#7F6D6A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797253;
/* rgb */ color: rgb(121, 114, 83);
/* oklch */ color: oklch(55.0% 0.046 96.9);
Tailwind
colors: {
  custom: {
    50: '#a09a83',
    500: '#797253',
    950: '#000000',
  },
}
SCSS
$custom: #797253;
$custom-light: #a09a83;
$custom-dark: #000000;
JSON
{
  "hex": "#797253",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 83
  },
  "hsl": {
    "h": 48.947,
    "s": 18.627,
    "l": 40
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.04603,
    "h": 96.9
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#797253
secondary
#868BA2
accent
#7BBB6D
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797253

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

Preview Lab → · Contrast checker → · Palette generator →

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