#797E43#797E43

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

Color values

HEX#797E43
RGBrgb(121, 126, 67)
HSLhsl(65, 31%, 38%)
HSVhsv(65, 47%, 49%)
CMYKcmyk(4%, 0%, 46.8%, 50.6%)
CIE-LABlab(51.14, -11.28, 31.34)
CIE-LCHlch(51.14, 33.31, 109.80°)
OKLaboklab(57.49% -0.0318 0.0752)
OKLCHoklch(57.49% 0.082 112.9)
XYZxyz(16.3594, 19.3922, 8.1904)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E43 #48437E
analogous
#7E6543 #797E43 #5B7E43
triadic
#797E43 #43797E #7E4379
tetradic
#797E43 #437E65 #48437E #7E435B
square
#797E43 #437E65 #48437E #7E435B
split-complementary
#797E43 #435B7E #65437E
monochromatic
#2C2E19 #53562E #797E43 #9FA658 #B6BB80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797E43#FFFFFF#000000##000000
##797E431.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)
#86793E
Deuteranopia (green-blind)
#867B46
Tritanopia (blue-blind)
#7F7870
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797e43;
/* rgb */ color: rgb(121, 126, 67);
/* oklch */ color: oklch(57.5% 0.082 112.9);
Tailwind
colors: {
  custom: {
    50: '#a1a378',
    500: '#797e43',
    950: '#000000',
  },
}
SCSS
$custom: #797e43;
$custom-light: #a1a378;
$custom-dark: #000000;
JSON
{
  "hex": "#797e43",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 67
  },
  "hsl": {
    "h": 65.085,
    "s": 30.57,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.08164,
    "h": 112.9
  },
  "luminance": 0.19392
}

Semantic roles & 50–950 ramp

primary
#797E43
secondary
#7A76A6
accent
#61C76A
background
#FAFAF7
surface
#F3F3ED
border
#CDCDC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #797E43

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

Preview Lab → · Contrast checker → · Palette generator →

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