#797728#797728

#797728 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.100 H 107.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#797728
RGBrgb(121, 119, 40)
HSLhsl(59, 50%, 32%)
HSVhsv(59, 67%, 47%)
CMYKcmyk(0%, 1.7%, 66.9%, 52.5%)
CIE-LABlab(48.78, -9.81, 42.10)
CIE-LCHlch(48.78, 43.23, 103.12°)
OKLaboklab(55.5% -0.0307 0.0952)
OKLCHoklch(55.5% 0.1 107.9)
XYZxyz(14.8655, 17.4123, 4.5849)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797728 #282A79
analogous
#794F28 #797728 #537928
triadic
#797728 #287977 #772879
tetradic
#797728 #28794F #282A79 #792853
square
#797728 #28794F #282A79 #792853
split-complementary
#797728 #285379 #4F2879
monochromatic
#1D1D0A #4B4A19 #797728 #A7A437 #C7C455

Accessibility & contrast

On white

4.68
#797728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #797728
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797728#FFFFFF#000000##FFFFFF
##7977281.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#826F67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797728;
/* rgb */ color: rgb(121, 119, 40);
/* oklch */ color: oklch(55.5% 0.100 107.9);
Tailwind
colors: {
  custom: {
    50: '#a29e66',
    500: '#797728',
    950: '#000000',
  },
}
SCSS
$custom: #797728;
$custom-light: #a29e66;
$custom-dark: #000000;
JSON
{
  "hex": "#797728",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 58.519,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55503,
    "c": 0.10001,
    "h": 107.9
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#797728
secondary
#5254AB
accent
#51DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797728

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

Preview Lab → · Contrast checker → · Palette generator →

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