#797343#797343

#797343 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.068 H 102.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#797343
RGBrgb(121, 115, 67)
HSLhsl(53, 29%, 37%)
HSVhsv(53, 45%, 47%)
CMYKcmyk(0%, 5%, 44.6%, 52.5%)
CIE-LABlab(47.92, -5.14, 27.33)
CIE-LCHlch(47.92, 27.81, 100.66°)
OKLaboklab(54.93% -0.0142 0.0662)
OKLCHoklch(54.93% 0.068 102.1)
XYZxyz(15.0293, 16.7321, 7.7470)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797343 #434979
analogous
#795843 #797343 #647943
triadic
#797343 #437973 #734379
tetradic
#797343 #437958 #434979 #794364
square
#797343 #437958 #434979 #794364
split-complementary
#797343 #436479 #584379
monochromatic
#2A2817 #524E2D #797343 #A09859 #B8B17F

Accessibility & contrast

On white

4.83
#797343 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#797343 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797343
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797343#FFFFFF#000000##FFFFFF
##7973431.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703F
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#806D67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797343;
/* rgb */ color: rgb(121, 115, 67);
/* oklch */ color: oklch(54.9% 0.068 102.1);
Tailwind
colors: {
  custom: {
    50: '#a19b78',
    500: '#797343',
    950: '#000000',
  },
}
SCSS
$custom: #797343;
$custom-light: #a19b78;
$custom-dark: #000000;
JSON
{
  "hex": "#797343",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 67
  },
  "hsl": {
    "h": 53.333,
    "s": 28.723,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54925,
    "c": 0.06774,
    "h": 102.1
  },
  "luminance": 0.16732
}

Semantic roles & 50–950 ramp

primary
#797343
secondary
#757AA3
accent
#6EC563
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797343

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

Preview Lab → · Contrast checker → · Palette generator →

#797343 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva