#797250#797250

#797250 is a mid, muted yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.050 H 97.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#797250
RGBrgb(121, 114, 80)
HSLhsl(50, 20%, 39%)
HSVhsv(50, 34%, 47%)
CMYKcmyk(0%, 5.8%, 33.9%, 52.5%)
CIE-LABlab(47.85, -2.94, 19.86)
CIE-LCHlch(47.85, 20.08, 98.42°)
OKLaboklab(54.94% -0.0069 0.0496)
OKLCHoklch(54.94% 0.05 97.9)
XYZxyz(15.3506, 16.6792, 9.9986)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797250 #505779
analogous
#795E50 #797250 #6C7950
triadic
#797250 #507972 #725079
tetradic
#797250 #50795E #505779 #79506C
square
#797250 #50795E #505779 #79506C
split-complementary
#797250 #506C79 #5E5079
monochromatic
#2F2D1F #544F38 #797250 #9C946A #B5AE8F

Accessibility & contrast

On white

4.84
#797250 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #797250
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797250#FFFFFF#000000##FFFFFF
##7972501.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704E
Deuteranopia (green-blind)
#7B7351
Tritanopia (blue-blind)
#7F6D69
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797250;
/* rgb */ color: rgb(121, 114, 80);
/* oklch */ color: oklch(54.9% 0.050 97.9);
Tailwind
colors: {
  custom: {
    50: '#a09a81',
    500: '#797250',
    950: '#000000',
  },
}
SCSS
$custom: #797250;
$custom-light: #a09a81;
$custom-dark: #000000;
JSON
{
  "hex": "#797250",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 80
  },
  "hsl": {
    "h": 49.756,
    "s": 20.398,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.05005,
    "h": 97.9
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#797250
secondary
#8388A2
accent
#79BD6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797250

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

Preview Lab → · Contrast checker → · Palette generator →

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