#797632#797632

#797632 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.090 H 106.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#797632
RGBrgb(121, 118, 50)
HSLhsl(57, 42%, 34%)
HSVhsv(57, 59%, 47%)
CMYKcmyk(0%, 2.5%, 58.7%, 52.5%)
CIE-LABlab(48.58, -8.51, 37.14)
CIE-LCHlch(48.58, 38.10, 102.90°)
OKLaboklab(55.38% -0.0258 0.0861)
OKLCHoklch(55.38% 0.09 106.7)
XYZxyz(14.9398, 17.2526, 5.5601)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797632 #323579
analogous
#795232 #797632 #587932
triadic
#797632 #327976 #763279
tetradic
#797632 #327952 #323579 #793258
square
#797632 #327952 #323579 #793258
split-complementary
#797632 #325879 #523279
monochromatic
#22220E #4E4C20 #797632 #A4A044 #C0BC66

Accessibility & contrast

On white

4.72
#797632 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#797632 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797632
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797632#FFFFFF#000000##FFFFFF
##7976321.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722B
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#816F67
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797632;
/* rgb */ color: rgb(121, 118, 50);
/* oklch */ color: oklch(55.4% 0.090 106.7);
Tailwind
colors: {
  custom: {
    50: '#a29d6c',
    500: '#797632',
    950: '#000000',
  },
}
SCSS
$custom: #797632;
$custom-light: #a29d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#797632",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 50
  },
  "hsl": {
    "h": 57.465,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55375,
    "c": 0.08991,
    "h": 106.7
  },
  "luminance": 0.17252
}

Semantic roles & 50–950 ramp

primary
#797632
secondary
#5F63A7
accent
#5CD156
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797632

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

Preview Lab → · Contrast checker → · Palette generator →

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