#797B43#797B43

#797B43 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.078 H 110.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#797B43
RGBrgb(121, 123, 67)
HSLhsl(62, 29%, 37%)
HSVhsv(62, 46%, 48%)
CMYKcmyk(1.6%, 0%, 45.5%, 51.8%)
CIE-LABlab(50.26, -9.63, 30.25)
CIE-LCHlch(50.26, 31.74, 107.66°)
OKLaboklab(56.78% -0.0271 0.0728)
OKLCHoklch(56.78% 0.078 110.4)
XYZxyz(15.9815, 18.6364, 8.0644)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B43 #45437B
analogous
#7B6143 #797B43 #5D7B43
triadic
#797B43 #43797B #7B4379
tetradic
#797B43 #437B61 #45437B #7B435D
square
#797B43 #437B61 #45437B #7B435D
split-complementary
#797B43 #435D7B #61437B
monochromatic
#2B2C18 #52532D #797B43 #A0A359 #B7B97F

Accessibility & contrast

On white

4.44
#797B43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#797B43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B43
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B43#FFFFFF#000000##000000
##797B431.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83773E
Deuteranopia (green-blind)
#837846
Tritanopia (blue-blind)
#80756E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797b43;
/* rgb */ color: rgb(121, 123, 67);
/* oklch */ color: oklch(56.8% 0.078 110.4);
Tailwind
colors: {
  custom: {
    50: '#a1a178',
    500: '#797b43',
    950: '#000000',
  },
}
SCSS
$custom: #797b43;
$custom-light: #a1a178;
$custom-dark: #000000;
JSON
{
  "hex": "#797b43",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 67
  },
  "hsl": {
    "h": 62.143,
    "s": 29.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.07765,
    "h": 110.4
  },
  "luminance": 0.18636
}

Semantic roles & 50–950 ramp

primary
#797B43
secondary
#7775A4
accent
#62C666
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797B43

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

Preview Lab → · Contrast checker → · Palette generator →

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