#796724#796724

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

Color values

HEX#796724
RGBrgb(121, 103, 36)
HSLhsl(47, 54%, 31%)
HSVhsv(47, 70%, 47%)
CMYKcmyk(0%, 14.9%, 70.2%, 52.5%)
CIE-LABlab(44.08, -0.99, 39.02)
CIE-LCHlch(44.08, 39.04, 91.45°)
OKLaboklab(51.76% -0.006 0.088)
OKLCHoklch(51.76% 0.088 93.9)
XYZxyz(13.0545, 13.8935, 3.6628)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796724 #243679
analogous
#793C24 #796724 #607924
triadic
#796724 #247967 #672479
tetradic
#796724 #24793C #243679 #792460
square
#796724 #24793C #243679 #792460
split-complementary
#796724 #246079 #3C2479
monochromatic
#1B1708 #4A3F16 #796724 #A88F32 #CAB04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796724#FFFFFF#000000##FFFFFF
##7967241.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)
#72651C
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#835F59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #796724;
/* rgb */ color: rgb(121, 103, 36);
/* oklch */ color: oklch(51.8% 0.088 93.9);
Tailwind
colors: {
  custom: {
    50: '#a39262',
    500: '#796724',
    950: '#000000',
  },
}
SCSS
$custom: #796724;
$custom-light: #a39262;
$custom-dark: #000000;
JSON
{
  "hex": "#796724",
  "rgb": {
    "r": 121,
    "g": 103,
    "b": 36
  },
  "hsl": {
    "h": 47.294,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51764,
    "c": 0.0882,
    "h": 93.9
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#796724
secondary
#4D61AC
accent
#69DE4A
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C05
muted
#7F7D7A

Preview Lab

Preview with #796724

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

Preview Lab → · Contrast checker → · Palette generator →

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