#797733#797733

#797733 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.090 H 107.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#797733
RGBrgb(121, 119, 51)
HSLhsl(58, 41%, 34%)
HSVhsv(58, 58%, 47%)
CMYKcmyk(0%, 1.7%, 57.9%, 52.5%)
CIE-LABlab(48.88, -8.98, 36.98)
CIE-LCHlch(48.88, 38.06, 103.65°)
OKLaboklab(55.62% -0.027 0.0859)
OKLCHoklch(55.62% 0.09 107.4)
XYZxyz(15.0800, 17.4980, 5.7144)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797733 #333579
analogous
#795433 #797733 #587933
triadic
#797733 #337977 #773379
tetradic
#797733 #337954 #333579 #793358
square
#797733 #337954 #333579 #793358
split-complementary
#797733 #335879 #543379
monochromatic
#23220F #4E4D21 #797733 #A4A145 #BFBD67

Accessibility & contrast

On white

4.67
#797733 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#797733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797733
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797733#FFFFFF#000000##FFFFFF
##7977331.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732C
Deuteranopia (green-blind)
#827537
Tritanopia (blue-blind)
#817068
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797733;
/* rgb */ color: rgb(121, 119, 51);
/* oklch */ color: oklch(55.6% 0.090 107.4);
Tailwind
colors: {
  custom: {
    50: '#a29e6d',
    500: '#797733',
    950: '#000000',
  },
}
SCSS
$custom: #797733;
$custom-light: #a29e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#797733",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 51
  },
  "hsl": {
    "h": 58.286,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55622,
    "c": 0.09007,
    "h": 107.4
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#797733
secondary
#6163A7
accent
#5BD157
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797733

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

Preview Lab → · Contrast checker → · Palette generator →

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