#797643#797643

#797643 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.071 H 105.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#797643
RGBrgb(121, 118, 67)
HSLhsl(57, 29%, 37%)
HSVhsv(57, 45%, 47%)
CMYKcmyk(0%, 2.5%, 44.6%, 52.5%)
CIE-LABlab(48.79, -6.84, 28.43)
CIE-LCHlch(48.79, 29.24, 103.53°)
OKLaboklab(55.62% -0.0191 0.0687)
OKLCHoklch(55.62% 0.071 105.5)
XYZxyz(15.3770, 17.4274, 7.8629)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797643 #434679
analogous
#795B43 #797643 #617943
triadic
#797643 #437976 #764379
tetradic
#797643 #43795B #434679 #794361
square
#797643 #43795B #434679 #794361
split-complementary
#797643 #436179 #5B4379
monochromatic
#2A2917 #52502D #797643 #A09C59 #B8B57F

Accessibility & contrast

On white

4.68
#797643 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#797643 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797643
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797643#FFFFFF#000000##FFFFFF
##7976431.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E733F
Deuteranopia (green-blind)
#7F7545
Tritanopia (blue-blind)
#80706A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797643;
/* rgb */ color: rgb(121, 118, 67);
/* oklch */ color: oklch(55.6% 0.071 105.5);
Tailwind
colors: {
  custom: {
    50: '#a19d78',
    500: '#797643',
    950: '#000000',
  },
}
SCSS
$custom: #797643;
$custom-light: #a19d78;
$custom-dark: #000000;
JSON
{
  "hex": "#797643",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 67
  },
  "hsl": {
    "h": 56.667,
    "s": 28.723,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55619,
    "c": 0.0713,
    "h": 105.5
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#797643
secondary
#7577A3
accent
#68C563
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797643

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

Preview Lab → · Contrast checker → · Palette generator →

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