#797332#797332

#797332 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.087 H 104.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#797332
RGBrgb(121, 115, 50)
HSLhsl(55, 42%, 34%)
HSVhsv(55, 59%, 47%)
CMYKcmyk(0%, 5%, 58.7%, 52.5%)
CIE-LABlab(47.70, -6.83, 36.14)
CIE-LCHlch(47.70, 36.78, 100.70°)
OKLaboklab(54.68% -0.021 0.084)
OKLCHoklch(54.68% 0.087 104)
XYZxyz(14.5921, 16.5572, 5.4442)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797332 #323879
analogous
#794F32 #797332 #5B7932
triadic
#797332 #327973 #733279
tetradic
#797332 #32794F #323879 #79325B
square
#797332 #32794F #323879 #79325B
split-complementary
#797332 #325B79 #4F3279
monochromatic
#22210E #4E4A20 #797332 #A49C44 #C0B866

Accessibility & contrast

On white

4.87
#797332 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#797332 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797332
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797332#FFFFFF#000000##FFFFFF
##7973321.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2B
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#816C65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797332;
/* rgb */ color: rgb(121, 115, 50);
/* oklch */ color: oklch(54.7% 0.087 104.0);
Tailwind
colors: {
  custom: {
    50: '#a29b6c',
    500: '#797332',
    950: '#000000',
  },
}
SCSS
$custom: #797332;
$custom-light: #a29b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#797332",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 50
  },
  "hsl": {
    "h": 54.93,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54676,
    "c": 0.08657,
    "h": 104
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#797332
secondary
#5F66A7
accent
#61D156
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797332

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

Preview Lab → · Contrast checker → · Palette generator →

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