#796825#796825

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

Color values

HEX#796825
RGBrgb(121, 104, 37)
HSLhsl(48, 53%, 31%)
HSVhsv(48, 69%, 47%)
CMYKcmyk(0%, 14%, 69.4%, 52.5%)
CIE-LABlab(44.38, -1.51, 38.87)
CIE-LCHlch(44.38, 38.89, 92.22°)
OKLaboklab(52% -0.0074 0.0878)
OKLCHoklch(52% 0.088 94.8)
XYZxyz(13.1700, 14.0998, 3.7777)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796825 #253679
analogous
#793E25 #796825 #607925
triadic
#796825 #257968 #682579
tetradic
#796825 #25793E #253679 #792560
square
#796825 #25793E #253679 #792560
split-complementary
#796825 #256079 #3E2579
monochromatic
#1B1708 #4A4017 #796825 #A89033 #C9B14F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796825#FFFFFF#000000##FFFFFF
##7968251.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)
#73661D
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#83605A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #796825;
/* rgb */ color: rgb(121, 104, 37);
/* oklch */ color: oklch(52.0% 0.088 94.8);
Tailwind
colors: {
  custom: {
    50: '#a29263',
    500: '#796825',
    950: '#000000',
  },
}
SCSS
$custom: #796825;
$custom-light: #a29263;
$custom-dark: #000000;
JSON
{
  "hex": "#796825",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 37
  },
  "hsl": {
    "h": 47.857,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52001,
    "c": 0.08814,
    "h": 94.8
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#796825
secondary
#4E61AB
accent
#69DD4B
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D05
muted
#7F7D7A

Preview Lab

Preview with #796825

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

Preview Lab → · Contrast checker → · Palette generator →

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