#796826#796826

#796826 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.087 H 94.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#796826
RGBrgb(121, 104, 38)
HSLhsl(48, 52%, 31%)
HSVhsv(48, 69%, 47%)
CMYKcmyk(0%, 14%, 68.6%, 52.5%)
CIE-LABlab(44.38, -1.44, 38.40)
CIE-LCHlch(44.38, 38.43, 92.15°)
OKLaboklab(52.01% -0.0071 0.087)
OKLCHoklch(52.01% 0.087 94.7)
XYZxyz(13.1859, 14.1062, 3.8616)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796826 #263779
analogous
#793E26 #796826 #607926
triadic
#796826 #267968 #682679
tetradic
#796826 #26793E #263779 #792660
square
#796826 #26793E #263779 #792660
split-complementary
#796826 #266079 #3E2679
monochromatic
#1C1809 #4A4017 #796826 #A89035 #C8B051

Accessibility & contrast

On white

5.50
#796826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#796826 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796826
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796826#FFFFFF#000000##FFFFFF
##7968261.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661E
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#83605A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #796826;
/* rgb */ color: rgb(121, 104, 38);
/* oklch */ color: oklch(52.0% 0.087 94.7);
Tailwind
colors: {
  custom: {
    50: '#a29264',
    500: '#796826',
    950: '#000000',
  },
}
SCSS
$custom: #796826;
$custom-light: #a29264;
$custom-dark: #000000;
JSON
{
  "hex": "#796826",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 38
  },
  "hsl": {
    "h": 47.711,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52011,
    "c": 0.08731,
    "h": 94.7
  },
  "luminance": 0.14106
}

Semantic roles & 50–950 ramp

primary
#796826
secondary
#5062AB
accent
#6ADC4C
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D05
muted
#7F7D7A

Preview Lab

Preview with #796826

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

Preview Lab → · Contrast checker → · Palette generator →

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