#796830#796830

#796830 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.1% C 0.078 H 92.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#796830
RGBrgb(121, 104, 48)
HSLhsl(46, 43%, 33%)
HSVhsv(46, 60%, 47%)
CMYKcmyk(0%, 14%, 60.3%, 52.5%)
CIE-LABlab(44.49, -0.70, 33.50)
CIE-LCHlch(44.49, 33.51, 91.19°)
OKLaboklab(52.13% -0.0036 0.0781)
OKLCHoklch(52.13% 0.078 92.6)
XYZxyz(13.3695, 14.1796, 4.8285)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796830 #304179
analogous
#794330 #796830 #657930
triadic
#796830 #307968 #683079
tetradic
#796830 #307943 #304179 #793065
square
#796830 #307943 #304179 #793065
split-complementary
#796830 #306579 #433079
monochromatic
#211D0D #4D421F #796830 #A58E41 #C1AB62

Accessibility & contrast

On white

5.47
#796830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#796830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796830
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796830#FFFFFF#000000##FFFFFF
##7968301.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662B
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#82605B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #796830;
/* rgb */ color: rgb(121, 104, 48);
/* oklch */ color: oklch(52.1% 0.078 92.6);
Tailwind
colors: {
  custom: {
    50: '#a2926a',
    500: '#796830',
    950: '#000000',
  },
}
SCSS
$custom: #796830;
$custom-light: #a2926a;
$custom-dark: #000000;
JSON
{
  "hex": "#796830",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 46.027,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.07814,
    "h": 92.6
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#796830
secondary
#5D6EA8
accent
#72D355
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D06
muted
#7F7D7A

Preview Lab

Preview with #796830

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

Preview Lab → · Contrast checker → · Palette generator →

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