#797C29#797C29

#797C29 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.105 H 111.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#797C29
RGBrgb(121, 124, 41)
HSLhsl(62, 50%, 32%)
HSVhsv(62, 67%, 49%)
CMYKcmyk(2.4%, 0%, 66.9%, 51.4%)
CIE-LABlab(50.26, -12.49, 43.21)
CIE-LCHlch(50.26, 44.98, 106.12°)
OKLaboklab(56.69% -0.0381 0.0977)
OKLCHoklch(56.69% 0.105 111.3)
XYZxyz(15.4935, 18.6407, 4.8793)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C29 #2C297C
analogous
#7C5629 #797C29 #4F7C29
triadic
#797C29 #29797C #7C2979
tetradic
#797C29 #297C56 #2C297C #7C294F
square
#797C29 #297C56 #2C297C #7C294F
split-complementary
#797C29 #294F7C #56297C
monochromatic
#1F200B #4C4E1A #797C29 #A6AA38 #C4C858

Accessibility & contrast

On white

4.44
#797C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#797C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C29
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C29#FFFFFF#000000##000000
##797C291.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86761E
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#81746B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797c29;
/* rgb */ color: rgb(121, 124, 41);
/* oklch */ color: oklch(56.7% 0.105 111.3);
Tailwind
colors: {
  custom: {
    50: '#a2a167',
    500: '#797c29',
    950: '#000000',
  },
}
SCSS
$custom: #797c29;
$custom-light: #a2a167;
$custom-dark: #000000;
JSON
{
  "hex": "#797c29",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 62.169,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56694,
    "c": 0.10485,
    "h": 111.3
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#797C29
secondary
#5754AD
accent
#4EDA53
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #797C29

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

Preview Lab → · Contrast checker → · Palette generator →

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