#7A742E#7A742E

#7A742E is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.091 H 104.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7A742E
RGBrgb(122, 116, 46)
HSLhsl(55, 45%, 33%)
HSVhsv(55, 62%, 48%)
CMYKcmyk(0%, 4.9%, 62.3%, 52.2%)
CIE-LABlab(48.04, -7.25, 38.54)
CIE-LCHlch(48.04, 39.21, 100.66°)
OKLaboklab(54.96% -0.0227 0.0886)
OKLCHoklch(54.96% 0.091 104.4)
XYZxyz(14.7651, 16.8261, 5.0542)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A742E #2E347A
analogous
#7A4E2E #7A742E #5A7A2E
triadic
#7A742E #2E7A74 #742E7A
tetradic
#7A742E #2E7A4E #2E347A #7A2E5A
square
#7A742E #2E7A4E #2E347A #7A2E5A
split-complementary
#7A742E #2E5A7A #4E2E7A
monochromatic
#211F0C #4E4A1D #7A742E #A69E3F #C3BB60

Accessibility & contrast

On white

4.81
#7A742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7A742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A742E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A742E#FFFFFF#000000##FFFFFF
##7A742E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#836C65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a742e;
/* rgb */ color: rgb(122, 116, 46);
/* oklch */ color: oklch(55.0% 0.091 104.4);
Tailwind
colors: {
  custom: {
    50: '#a39b6a',
    500: '#7a742e',
    950: '#000000',
  },
}
SCSS
$custom: #7a742e;
$custom-light: #a39b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a742e",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 55.263,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54957,
    "c": 0.09143,
    "h": 104.4
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

primary
#7A742E
secondary
#5A61AA
accent
#5DD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A742E

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

Preview Lab → · Contrast checker → · Palette generator →

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