#797C43#797C43

#797C43 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.079 H 111.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#797C43
RGBrgb(121, 124, 67)
HSLhsl(63, 30%, 37%)
HSVhsv(63, 46%, 49%)
CMYKcmyk(2.4%, 0%, 46%, 51.4%)
CIE-LABlab(50.55, -10.18, 30.61)
CIE-LCHlch(50.55, 32.26, 108.40°)
OKLaboklab(57.02% -0.0287 0.0736)
OKLCHoklch(57.02% 0.079 111.3)
XYZxyz(16.1062, 18.8858, 8.1060)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C43 #46437C
analogous
#7C6343 #797C43 #5C7C43
triadic
#797C43 #43797C #7C4379
tetradic
#797C43 #437C63 #46437C #7C435C
square
#797C43 #437C63 #46437C #7C435C
split-complementary
#797C43 #435C7C #63437C
monochromatic
#2B2D18 #52542E #797C43 #A0A458 #B7BA7F

Accessibility & contrast

On white

4.40
#797C43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#797C43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C43
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C43#FFFFFF#000000##000000
##797C431.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84773E
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#80766E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797c43;
/* rgb */ color: rgb(121, 124, 67);
/* oklch */ color: oklch(57.0% 0.079 111.3);
Tailwind
colors: {
  custom: {
    50: '#a1a178',
    500: '#797c43',
    950: '#000000',
  },
}
SCSS
$custom: #797c43;
$custom-light: #a1a178;
$custom-dark: #000000;
JSON
{
  "hex": "#797c43",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 67
  },
  "hsl": {
    "h": 63.158,
    "s": 29.843,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.07897,
    "h": 111.3
  },
  "luminance": 0.18885
}

Semantic roles & 50–950 ramp

primary
#797C43
secondary
#7876A5
accent
#62C667
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0F09
muted
#7F7E7B

Preview Lab

Preview with #797C43

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

Preview Lab → · Contrast checker → · Palette generator →

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