#797E29#797E29

#797E29 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.107 H 112.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#797E29
RGBrgb(121, 126, 41)
HSLhsl(64, 51%, 33%)
HSVhsv(64, 67%, 49%)
CMYKcmyk(4%, 0%, 67.5%, 50.6%)
CIE-LABlab(50.86, -13.57, 43.83)
CIE-LCHlch(50.86, 45.88, 107.21°)
OKLaboklab(57.17% -0.0411 0.099)
OKLCHoklch(57.17% 0.107 112.6)
XYZxyz(15.7467, 19.1471, 4.9636)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E29 #2E297E
analogous
#7E5829 #797E29 #4F7E29
triadic
#797E29 #29797E #7E2979
tetradic
#797E29 #297E58 #2E297E #7E294F
square
#797E29 #297E58 #2E297E #7E294F
split-complementary
#797E29 #294F7E #58297E
monochromatic
#20220B #4D501A #797E29 #A5AC38 #C2C959

Accessibility & contrast

On white

4.35
#797E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#797E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E29
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E29#FFFFFF#000000##000000
##797E291.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#887A2F
Tritanopia (blue-blind)
#81766D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797e29;
/* rgb */ color: rgb(121, 126, 41);
/* oklch */ color: oklch(57.2% 0.107 112.6);
Tailwind
colors: {
  custom: {
    50: '#a2a368',
    500: '#797e29',
    950: '#000000',
  },
}
SCSS
$custom: #797e29;
$custom-light: #a2a368;
$custom-dark: #000000;
JSON
{
  "hex": "#797e29",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 63.529,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5717,
    "c": 0.1072,
    "h": 112.6
  },
  "luminance": 0.19147
}

Semantic roles & 50–950 ramp

primary
#797E29
secondary
#5A55AE
accent
#4DDA56
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #797E29

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

Preview Lab → · Contrast checker → · Palette generator →

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