#797F29#797F29

#797F29 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.108 H 113.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#797F29
RGBrgb(121, 127, 41)
HSLhsl(64, 51%, 33%)
HSVhsv(64, 68%, 50%)
CMYKcmyk(4.7%, 0%, 67.7%, 50.2%)
CIE-LABlab(51.16, -14.11, 44.14)
CIE-LCHlch(51.16, 46.34, 107.73°)
OKLaboklab(57.41% -0.0426 0.0997)
OKLCHoklch(57.41% 0.108 113.2)
XYZxyz(15.8752, 19.4041, 5.0065)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F29 #2F297F
analogous
#7F5A29 #797F29 #4E7F29
triadic
#797F29 #29797F #7F2979
tetradic
#797F29 #297F5A #2F297F #7F294E
square
#797F29 #297F5A #2F297F #7F294E
split-complementary
#797F29 #294E7F #5A297F
monochromatic
#21220B #4D511A #797F29 #A5AD38 #C2C959

Accessibility & contrast

On white

4.30
#797F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#797F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F29
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F29#FFFFFF#000000##000000
##797F291.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791D
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#81776D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797f29;
/* rgb */ color: rgb(121, 127, 41);
/* oklch */ color: oklch(57.4% 0.108 113.2);
Tailwind
colors: {
  custom: {
    50: '#a2a468',
    500: '#797f29',
    950: '#000000',
  },
}
SCSS
$custom: #797f29;
$custom-light: #a2a468;
$custom-dark: #000000;
JSON
{
  "hex": "#797f29",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 64.186,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.10839,
    "h": 113.2
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

primary
#797F29
secondary
#5B55AF
accent
#4DDB57
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #797F29

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

Preview Lab → · Contrast checker → · Palette generator →

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