#797D29#797D29

#797D29 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.106 H 111.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#797D29
RGBrgb(121, 125, 41)
HSLhsl(63, 51%, 33%)
HSVhsv(63, 67%, 49%)
CMYKcmyk(3.2%, 0%, 67.2%, 51%)
CIE-LABlab(50.56, -13.03, 43.52)
CIE-LCHlch(50.56, 45.43, 106.67°)
OKLaboklab(56.93% -0.0396 0.0983)
OKLCHoklch(56.93% 0.106 111.9)
XYZxyz(15.6195, 18.8926, 4.9212)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D29 #2D297D
analogous
#7D5729 #797D29 #4F7D29
triadic
#797D29 #29797D #7D2979
tetradic
#797D29 #297D57 #2D297D #7D294F
square
#797D29 #297D57 #2D297D #7D294F
split-complementary
#797D29 #294F7D #57297D
monochromatic
#20210B #4C4F1A #797D29 #A6AB38 #C3C858

Accessibility & contrast

On white

4.39
#797D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#797D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D29
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D29#FFFFFF#000000##000000
##797D291.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771E
Deuteranopia (green-blind)
#87792F
Tritanopia (blue-blind)
#81756C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797d29;
/* rgb */ color: rgb(121, 125, 41);
/* oklch */ color: oklch(56.9% 0.106 111.9);
Tailwind
colors: {
  custom: {
    50: '#a2a268',
    500: '#797d29',
    950: '#000000',
  },
}
SCSS
$custom: #797d29;
$custom-light: #a2a268;
$custom-dark: #000000;
JSON
{
  "hex": "#797d29",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 62.857,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.10602,
    "h": 111.9
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#797D29
secondary
#5854AE
accent
#4EDA54
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #797D29

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

Preview Lab → · Contrast checker → · Palette generator →

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