#797A29#797A29

#797A29 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.103 H 110.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#797A29
RGBrgb(121, 122, 41)
HSLhsl(61, 50%, 32%)
HSVhsv(61, 66%, 48%)
CMYKcmyk(0.8%, 0%, 66.4%, 52.2%)
CIE-LABlab(49.67, -11.40, 42.59)
CIE-LCHlch(49.67, 44.09, 104.98°)
OKLaboklab(56.22% -0.035 0.0964)
OKLCHoklch(56.22% 0.103 110)
XYZxyz(15.2454, 18.1445, 4.7965)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A29 #2A297A
analogous
#7A5329 #797A29 #517A29
triadic
#797A29 #29797A #7A2979
tetradic
#797A29 #297A53 #2A297A #7A2951
square
#797A29 #297A53 #2A297A #7A2951
split-complementary
#797A29 #29517A #53297A
monochromatic
#1E1E0A #4C4C1A #797A29 #A6A838 #C5C757

Accessibility & contrast

On white

4.54
#797A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#797A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A29
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A29#FFFFFF#000000##000000
##797A291.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#817269
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797a29;
/* rgb */ color: rgb(121, 122, 41);
/* oklch */ color: oklch(56.2% 0.103 110.0);
Tailwind
colors: {
  custom: {
    50: '#a2a067',
    500: '#797a29',
    950: '#000000',
  },
}
SCSS
$custom: #797a29;
$custom-light: #a2a067;
$custom-dark: #000000;
JSON
{
  "hex": "#797a29",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 41
  },
  "hsl": {
    "h": 60.741,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.10255,
    "h": 110
  },
  "luminance": 0.18144
}

Semantic roles & 50–950 ramp

primary
#797A29
secondary
#5453AC
accent
#4FD950
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797A29

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

Preview Lab → · Contrast checker → · Palette generator →

#797A29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva