#796520#796520

#796520 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.3% C 0.090 H 92.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#796520
RGBrgb(121, 101, 32)
HSLhsl(47, 58%, 30%)
HSVhsv(47, 74%, 47%)
CMYKcmyk(0%, 16.5%, 73.6%, 52.5%)
CIE-LABlab(43.47, -0.06, 40.23)
CIE-LCHlch(43.47, 40.23, 90.09°)
OKLaboklab(51.27% -0.0039 0.0898)
OKLCHoklch(51.27% 0.09 92.5)
XYZxyz(12.8002, 13.4773, 3.2934)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796520 #203479
analogous
#793920 #796520 #607920
triadic
#796520 #207965 #652079
tetradic
#796520 #207939 #203479 #792060
square
#796520 #207939 #203479 #792060
split-complementary
#796520 #206079 #392079
monochromatic
#181406 #493D13 #796520 #A98D2D #CEAF45

Accessibility & contrast

On white

5.68
#796520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#796520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796520
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796520#FFFFFF#000000##FFFFFF
##7965201.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706316
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#835D57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #796520;
/* rgb */ color: rgb(121, 101, 32);
/* oklch */ color: oklch(51.3% 0.090 92.5);
Tailwind
colors: {
  custom: {
    50: '#a39060',
    500: '#796520',
    950: '#000000',
  },
}
SCSS
$custom: #796520;
$custom-light: #a39060;
$custom-dark: #000000;
JSON
{
  "hex": "#796520",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 32
  },
  "hsl": {
    "h": 46.517,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.08986,
    "h": 92.5
  },
  "luminance": 0.13477
}

Semantic roles & 50–950 ramp

primary
#796520
secondary
#495FAC
accent
#69E146
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #796520

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

Preview Lab → · Contrast checker → · Palette generator →

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