#797635#797635

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

Color values

HEX#797635
RGBrgb(121, 118, 53)
HSLhsl(57, 39%, 34%)
HSVhsv(57, 56%, 47%)
CMYKcmyk(0%, 2.5%, 56.2%, 52.5%)
CIE-LABlab(48.61, -8.25, 35.66)
CIE-LCHlch(48.61, 36.60, 103.03°)
OKLaboklab(55.41% -0.0247 0.0833)
OKLCHoklch(55.41% 0.087 106.5)
XYZxyz(15.0066, 17.2793, 5.9122)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797635 #353879
analogous
#795435 #797635 #5A7935
triadic
#797635 #357976 #763579
tetradic
#797635 #357954 #353879 #79355A
square
#797635 #357954 #353879 #79355A
split-complementary
#797635 #355A79 #543579
monochromatic
#242310 #4E4C22 #797635 #A4A048 #BEBA6A

Accessibility & contrast

On white

4.71
#797635 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#797635 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797635
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797635#FFFFFF#000000##FFFFFF
##7976351.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797635;
/* rgb */ color: rgb(121, 118, 53);
/* oklch */ color: oklch(55.4% 0.087 106.5);
Tailwind
colors: {
  custom: {
    50: '#a19d6e',
    500: '#797635',
    950: '#000000',
  },
}
SCSS
$custom: #797635;
$custom-light: #a19d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#797635",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 53
  },
  "hsl": {
    "h": 57.353,
    "s": 39.08,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55413,
    "c": 0.08691,
    "h": 106.5
  },
  "luminance": 0.17279
}

Semantic roles & 50–950 ramp

primary
#797635
secondary
#6366A6
accent
#5ECF59
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797635

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

Preview Lab → · Contrast checker → · Palette generator →

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