#797429#797429

#797429 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.096 H 105.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#797429
RGBrgb(121, 116, 41)
HSLhsl(56, 49%, 32%)
HSVhsv(56, 66%, 47%)
CMYKcmyk(0%, 4.1%, 66.1%, 52.5%)
CIE-LABlab(47.90, -8.08, 40.73)
CIE-LCHlch(47.90, 41.52, 101.22°)
OKLaboklab(54.81% -0.0256 0.0925)
OKLCHoklch(54.81% 0.096 105.5)
XYZxyz(14.5313, 16.7163, 4.5585)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797429 #292E79
analogous
#794C29 #797429 #567929
triadic
#797429 #297974 #742979
tetradic
#797429 #29794C #292E79 #792956
square
#797429 #29794C #292E79 #792956
split-complementary
#797429 #295679 #4C2979
monochromatic
#1E1C0A #4B481A #797429 #A7A038 #C6BF56

Accessibility & contrast

On white

4.84
#797429 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#797429 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797429
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797429#FFFFFF#000000##FFFFFF
##7974291.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#826C64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797429;
/* rgb */ color: rgb(121, 116, 41);
/* oklch */ color: oklch(54.8% 0.096 105.5);
Tailwind
colors: {
  custom: {
    50: '#a29b67',
    500: '#797429',
    950: '#000000',
  },
}
SCSS
$custom: #797429;
$custom-light: #a29b67;
$custom-dark: #000000;
JSON
{
  "hex": "#797429",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 41
  },
  "hsl": {
    "h": 56.25,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.09594,
    "h": 105.5
  },
  "luminance": 0.16716
}

Semantic roles & 50–950 ramp

primary
#797429
secondary
#5359AB
accent
#58D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797429

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

Preview Lab → · Contrast checker → · Palette generator →

#797429 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva