#797D43#797D43

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

Color values

HEX#797D43
RGBrgb(121, 125, 67)
HSLhsl(64, 30%, 38%)
HSVhsv(64, 46%, 49%)
CMYKcmyk(3.2%, 0%, 46.4%, 51%)
CIE-LABlab(50.85, -10.73, 30.97)
CIE-LCHlch(50.85, 32.78, 109.11°)
OKLaboklab(57.25% -0.0302 0.0744)
OKLCHoklch(57.25% 0.08 112.1)
XYZxyz(16.2321, 19.1377, 8.1480)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D43 #47437D
analogous
#7D6443 #797D43 #5C7D43
triadic
#797D43 #43797D #7D4379
tetradic
#797D43 #437D64 #47437D #7D435C
square
#797D43 #437D64 #47437D #7D435C
split-complementary
#797D43 #435C7D #64437D
monochromatic
#2C2D18 #52552E #797D43 #A0A558 #B7BB80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797D43#FFFFFF#000000##000000
##797D431.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)
#85783E
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#80776F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797d43;
/* rgb */ color: rgb(121, 125, 67);
/* oklch */ color: oklch(57.3% 0.080 112.1);
Tailwind
colors: {
  custom: {
    50: '#a1a278',
    500: '#797d43',
    950: '#000000',
  },
}
SCSS
$custom: #797d43;
$custom-light: #a1a278;
$custom-dark: #000000;
JSON
{
  "hex": "#797d43",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 67
  },
  "hsl": {
    "h": 64.138,
    "s": 30.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.08029,
    "h": 112.1
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#797D43
secondary
#7976A6
accent
#61C668
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0F09
muted
#7F7E7B

Preview Lab

Preview with #797D43

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

Preview Lab → · Contrast checker → · Palette generator →

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