#7A7145#7A7145

#7A7145 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.063 H 98.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7A7145
RGBrgb(122, 113, 69)
HSLhsl(50, 28%, 37%)
HSVhsv(50, 43%, 48%)
CMYKcmyk(0%, 7.4%, 43.4%, 52.2%)
CIE-LABlab(47.47, -3.33, 25.66)
CIE-LCHlch(47.47, 25.87, 97.39°)
OKLaboklab(54.6% -0.0089 0.0625)
OKLCHoklch(54.6% 0.063 98.1)
XYZxyz(15.0057, 16.3780, 7.9999)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7145 #454E7A
analogous
#7A5645 #7A7145 #697A45
triadic
#7A7145 #457A71 #71457A
tetradic
#7A7145 #457A56 #454E7A #7A4569
square
#7A7145 #457A56 #454E7A #7A4569
split-complementary
#7A7145 #45697A #56457A
monochromatic
#2C2919 #534D2F #7A7145 #A1955B #B8AF81

Accessibility & contrast

On white

4.91
#7A7145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7A7145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7145
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7145#FFFFFF#000000##FFFFFF
##7A71451.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#7C7247
Tritanopia (blue-blind)
#816B66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a7145;
/* rgb */ color: rgb(122, 113, 69);
/* oklch */ color: oklch(54.6% 0.063 98.1);
Tailwind
colors: {
  custom: {
    50: '#a19979',
    500: '#7a7145',
    950: '#000000',
  },
}
SCSS
$custom: #7a7145;
$custom-light: #a19979;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7145",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 49.811,
    "s": 27.749,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.06316,
    "h": 98.1
  },
  "luminance": 0.16378
}

Semantic roles & 50–950 ramp

primary
#7A7145
secondary
#777FA3
accent
#74C464
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7A7145

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

Preview Lab → · Contrast checker → · Palette generator →

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