#797A43#797A43

#797A43 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.076 H 109.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#797A43
RGBrgb(121, 122, 67)
HSLhsl(61, 29%, 37%)
HSVhsv(61, 45%, 48%)
CMYKcmyk(0.8%, 0%, 45.1%, 52.2%)
CIE-LABlab(49.97, -9.07, 29.88)
CIE-LCHlch(49.97, 31.23, 106.89°)
OKLaboklab(56.55% -0.0255 0.072)
OKLCHoklch(56.55% 0.076 109.5)
XYZxyz(15.8581, 18.3896, 8.0233)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A43 #44437A
analogous
#7A6043 #797A43 #5E7A43
triadic
#797A43 #43797A #7A4379
tetradic
#797A43 #437A60 #44437A #7A435E
square
#797A43 #437A60 #44437A #7A435E
split-complementary
#797A43 #435E7A #60437A
monochromatic
#2B2B18 #52522D #797A43 #A0A259 #B8B97F

Accessibility & contrast

On white

4.49
#797A43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#797A43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A43
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A43#FFFFFF#000000##000000
##797A431.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82763F
Deuteranopia (green-blind)
#827846
Tritanopia (blue-blind)
#80746D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797a43;
/* rgb */ color: rgb(121, 122, 67);
/* oklch */ color: oklch(56.5% 0.076 109.5);
Tailwind
colors: {
  custom: {
    50: '#a1a078',
    500: '#797a43',
    950: '#000000',
  },
}
SCSS
$custom: #797a43;
$custom-light: #a1a078;
$custom-dark: #000000;
JSON
{
  "hex": "#797a43",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 67
  },
  "hsl": {
    "h": 61.091,
    "s": 29.101,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.07635,
    "h": 109.5
  },
  "luminance": 0.18389
}

Semantic roles & 50–950 ramp

primary
#797A43
secondary
#7675A4
accent
#62C564
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797A43

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

Preview Lab → · Contrast checker → · Palette generator →

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