#796523#796523

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

Color values

HEX#796523
RGBrgb(121, 101, 35)
HSLhsl(46, 55%, 31%)
HSVhsv(46, 71%, 47%)
CMYKcmyk(0%, 16.5%, 71.1%, 52.5%)
CIE-LABlab(43.50, 0.11, 38.88)
CIE-LCHlch(43.50, 38.88, 89.83°)
OKLaboklab(51.3% -0.003 0.0875)
OKLCHoklch(51.3% 0.088 92)
XYZxyz(12.8429, 13.4944, 3.5180)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796523 #233779
analogous
#793A23 #796523 #627923
triadic
#796523 #237965 #652379
tetradic
#796523 #23793A #233779 #792362
square
#796523 #23793A #233779 #792362
split-complementary
#796523 #236279 #3A2379
monochromatic
#1A1608 #4A3D15 #796523 #A88D31 #CBAD4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796523#FFFFFF#000000##FFFFFF
##7965231.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)
#70631B
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#835D57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #796523;
/* rgb */ color: rgb(121, 101, 35);
/* oklch */ color: oklch(51.3% 0.088 92.0);
Tailwind
colors: {
  custom: {
    50: '#a39062',
    500: '#796523',
    950: '#000000',
  },
}
SCSS
$custom: #796523;
$custom-light: #a39062;
$custom-dark: #000000;
JSON
{
  "hex": "#796523",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 35
  },
  "hsl": {
    "h": 46.047,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.08756,
    "h": 92
  },
  "luminance": 0.13494
}

Semantic roles & 50–950 ramp

primary
#796523
secondary
#4C62AC
accent
#6CDE49
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #796523

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

Preview Lab → · Contrast checker → · Palette generator →

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