#796723#796723

#796723 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.8% C 0.089 H 94.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#796723
RGBrgb(121, 103, 35)
HSLhsl(47, 55%, 31%)
HSVhsv(47, 71%, 47%)
CMYKcmyk(0%, 14.9%, 71.1%, 52.5%)
CIE-LABlab(44.07, -1.05, 39.48)
CIE-LCHlch(44.07, 39.49, 91.53°)
OKLaboklab(51.75% -0.0063 0.0888)
OKLCHoklch(51.75% 0.089 94.1)
XYZxyz(13.0394, 13.8875, 3.5835)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796723 #233579
analogous
#793C23 #796723 #607923
triadic
#796723 #237967 #672379
tetradic
#796723 #23793C #233579 #792360
square
#796723 #23793C #233579 #792360
split-complementary
#796723 #236079 #3C2379
monochromatic
#1A1608 #4A3F15 #796723 #A88F31 #CBB04B

Accessibility & contrast

On white

5.56
#796723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#796723 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796723
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796723#FFFFFF#000000##FFFFFF
##7967231.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651A
Deuteranopia (green-blind)
#776A27
Tritanopia (blue-blind)
#835F59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #796723;
/* rgb */ color: rgb(121, 103, 35);
/* oklch */ color: oklch(51.8% 0.089 94.1);
Tailwind
colors: {
  custom: {
    50: '#a39262',
    500: '#796723',
    950: '#000000',
  },
}
SCSS
$custom: #796723;
$custom-light: #a39262;
$custom-dark: #000000;
JSON
{
  "hex": "#796723",
  "rgb": {
    "r": 121,
    "g": 103,
    "b": 35
  },
  "hsl": {
    "h": 47.442,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.08899,
    "h": 94.1
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#796723
secondary
#4C60AC
accent
#69DE49
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #796723

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

Preview Lab → · Contrast checker → · Palette generator →

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