#797129#797129

#797129 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.093 H 103.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#797129
RGBrgb(121, 113, 41)
HSLhsl(54, 49%, 32%)
HSVhsv(54, 66%, 47%)
CMYKcmyk(0%, 6.6%, 66.1%, 52.5%)
CIE-LABlab(47.02, -6.39, 39.79)
CIE-LCHlch(47.02, 40.30, 99.12°)
OKLaboklab(54.11% -0.0208 0.0905)
OKLCHoklch(54.11% 0.093 103)
XYZxyz(14.1911, 16.0358, 4.4451)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797129 #293179
analogous
#794929 #797129 #597929
triadic
#797129 #297971 #712979
tetradic
#797129 #297949 #293179 #792959
square
#797129 #297949 #293179 #792959
split-complementary
#797129 #295979 #492979
monochromatic
#1E1C0A #4B461A #797129 #A79C38 #C6BB56

Accessibility & contrast

On white

4.99
#797129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#797129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797129
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797129#FFFFFF#000000##FFFFFF
##7971291.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D20
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#826962
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #797129;
/* rgb */ color: rgb(121, 113, 41);
/* oklch */ color: oklch(54.1% 0.093 103.0);
Tailwind
colors: {
  custom: {
    50: '#a29966',
    500: '#797129',
    950: '#000000',
  },
}
SCSS
$custom: #797129;
$custom-light: #a29966;
$custom-dark: #000000;
JSON
{
  "hex": "#797129",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 54,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.09284,
    "h": 103
  },
  "luminance": 0.16035
}

Semantic roles & 50–950 ramp

primary
#797129
secondary
#535CAB
accent
#5DD94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #797129

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

Preview Lab → · Contrast checker → · Palette generator →

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