#796527#796527

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

Color values

HEX#796527
RGBrgb(121, 101, 39)
HSLhsl(45, 51%, 31%)
HSVhsv(45, 68%, 47%)
CMYKcmyk(0%, 16.5%, 67.8%, 52.5%)
CIE-LABlab(43.54, 0.37, 37.01)
CIE-LCHlch(43.54, 37.01, 89.43°)
OKLaboklab(51.34% -0.0017 0.0842)
OKLCHoklch(51.34% 0.084 91.2)
XYZxyz(12.9057, 13.5195, 3.8488)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796527 #273B79
analogous
#793C27 #796527 #647927
triadic
#796527 #277965 #652779
tetradic
#796527 #27793C #273B79 #792764
square
#796527 #27793C #273B79 #792764
split-complementary
#796527 #276479 #3C2779
monochromatic
#1C1809 #4B3E18 #796527 #A78C36 #C8AB53

Accessibility & contrast

On white

5.67
#796527 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #796527
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796527#FFFFFF#000000##FFFFFF
##7965271.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706420
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#835D58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #796527;
/* rgb */ color: rgb(121, 101, 39);
/* oklch */ color: oklch(51.3% 0.084 91.2);
Tailwind
colors: {
  custom: {
    50: '#a29064',
    500: '#796527',
    950: '#000000',
  },
}
SCSS
$custom: #796527;
$custom-light: #a29064;
$custom-dark: #000000;
JSON
{
  "hex": "#796527",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 39
  },
  "hsl": {
    "h": 45.366,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.08426,
    "h": 91.2
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#796527
secondary
#5167AB
accent
#70DB4D
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C05
muted
#7F7D7A

Preview Lab

Preview with #796527

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

Preview Lab → · Contrast checker → · Palette generator →

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