#797829#797829

#797829 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.7% C 0.100 H 108.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#797829
RGBrgb(121, 120, 41)
HSLhsl(59, 49%, 32%)
HSVhsv(59, 66%, 47%)
CMYKcmyk(0%, 0.8%, 66.1%, 52.5%)
CIE-LABlab(49.08, -10.30, 41.97)
CIE-LCHlch(49.08, 43.22, 103.79°)
OKLaboklab(55.75% -0.0319 0.0951)
OKLCHoklch(55.75% 0.1 108.6)
XYZxyz(15.0024, 17.6584, 4.7155)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797829 #292A79
analogous
#795029 #797829 #527929
triadic
#797829 #297978 #782979
tetradic
#797829 #297950 #292A79 #792952
square
#797829 #297950 #292A79 #792952
split-complementary
#797829 #295279 #502979
monochromatic
#1E1D0A #4B4B1A #797829 #A7A538 #C6C556

Accessibility & contrast

On white

4.63
#797829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#797829 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797829
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797829#FFFFFF#000000##FFFFFF
##7978291.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731F
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#827068
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797829;
/* rgb */ color: rgb(121, 120, 41);
/* oklch */ color: oklch(55.7% 0.100 108.6);
Tailwind
colors: {
  custom: {
    50: '#a29e67',
    500: '#797829',
    950: '#000000',
  },
}
SCSS
$custom: #797829;
$custom-light: #a29e67;
$custom-dark: #000000;
JSON
{
  "hex": "#797829",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 41
  },
  "hsl": {
    "h": 59.25,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.1003,
    "h": 108.6
  },
  "luminance": 0.17658
}

Semantic roles & 50–950 ramp

primary
#797829
secondary
#5354AB
accent
#51D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797829

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

Preview Lab → · Contrast checker → · Palette generator →

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