#7A7940#7A7940

#7A7940 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.078 H 107.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A7940
RGBrgb(122, 121, 64)
HSLhsl(59, 31%, 36%)
HSVhsv(59, 48%, 48%)
CMYKcmyk(0%, 0.8%, 47.5%, 52.2%)
CIE-LABlab(49.72, -8.40, 31.22)
CIE-LCHlch(49.72, 32.33, 105.07°)
OKLaboklab(56.36% -0.0239 0.0747)
OKLCHoklch(56.36% 0.078 107.8)
XYZxyz(15.7891, 18.1829, 7.5274)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7940 #40417A
analogous
#7A5C40 #7A7940 #5E7A40
triadic
#7A7940 #407A79 #79407A
tetradic
#7A7940 #407A5C #40417A #7A405E
square
#7A7940 #407A5C #40417A #7A405E
split-complementary
#7A7940 #405E7A #5C407A
monochromatic
#2A2916 #52512B #7A7940 #A2A155 #BAB97B

Accessibility & contrast

On white

4.53
#7A7940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7A7940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7940
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7940#FFFFFF#000000##000000
##7A79401.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81753B
Deuteranopia (green-blind)
#827743
Tritanopia (blue-blind)
#81736C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a7940;
/* rgb */ color: rgb(122, 121, 64);
/* oklch */ color: oklch(56.4% 0.078 107.8);
Tailwind
colors: {
  custom: {
    50: '#a29f76',
    500: '#7a7940',
    950: '#000000',
  },
}
SCSS
$custom: #7a7940;
$custom-light: #a29f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7940",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 58.966,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.07844,
    "h": 107.8
  },
  "luminance": 0.18182
}

Semantic roles & 50–950 ramp

primary
#7A7940
secondary
#7272A4
accent
#62C760
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7A7940

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

Preview Lab → · Contrast checker → · Palette generator →

#7A7940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva