#797243#797243

#797243 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.067 H 100.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#797243
RGBrgb(121, 114, 67)
HSLhsl(52, 29%, 37%)
HSVhsv(52, 45%, 47%)
CMYKcmyk(0%, 5.8%, 44.6%, 52.5%)
CIE-LABlab(47.63, -4.57, 26.97)
CIE-LCHlch(47.63, 27.35, 99.63°)
OKLaboklab(54.7% -0.0126 0.0654)
OKLCHoklch(54.7% 0.067 100.9)
XYZxyz(14.9159, 16.5053, 7.7092)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797243 #434A79
analogous
#795743 #797243 #657943
triadic
#797243 #437972 #724379
tetradic
#797243 #437957 #434A79 #794365
square
#797243 #437957 #434A79 #794365
split-complementary
#797243 #436579 #574379
monochromatic
#2A2817 #524D2D #797243 #A09759 #B8B07F

Accessibility & contrast

On white

4.88
#797243 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#797243 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797243
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797243#FFFFFF#000000##FFFFFF
##7972431.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3F
Deuteranopia (green-blind)
#7C7245
Tritanopia (blue-blind)
#806C67
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797243;
/* rgb */ color: rgb(121, 114, 67);
/* oklch */ color: oklch(54.7% 0.067 100.9);
Tailwind
colors: {
  custom: {
    50: '#a19a78',
    500: '#797243',
    950: '#000000',
  },
}
SCSS
$custom: #797243;
$custom-light: #a19a78;
$custom-dark: #000000;
JSON
{
  "hex": "#797243",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 67
  },
  "hsl": {
    "h": 52.222,
    "s": 28.723,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.0666,
    "h": 100.9
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#797243
secondary
#757BA3
accent
#70C563
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797243

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

Preview Lab → · Contrast checker → · Palette generator →

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