#7B7140#7B7140

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

Color values

HEX#7B7140
RGBrgb(123, 113, 64)
HSLhsl(50, 32%, 37%)
HSVhsv(50, 48%, 48%)
CMYKcmyk(0%, 8.1%, 48%, 51.8%)
CIE-LABlab(47.48, -3.44, 28.49)
CIE-LCHlch(47.48, 28.70, 96.89°)
OKLaboklab(54.61% -0.0097 0.0686)
OKLCHoklch(54.61% 0.069 98.1)
XYZxyz(14.9993, 16.3919, 7.2233)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7140 #404A7B
analogous
#7B5440 #7B7140 #687B40
triadic
#7B7140 #407B71 #71407B
tetradic
#7B7140 #407B54 #404A7B #7B4068
square
#7B7140 #407B54 #404A7B #7B4068
split-complementary
#7B7140 #40687B #54407B
monochromatic
#2A2716 #534C2B #7B7140 #A39655 #BAB07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7140#FFFFFF#000000##FFFFFF
##7B71401.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)
#7A6F3C
Deuteranopia (green-blind)
#7C7242
Tritanopia (blue-blind)
#836B65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7140;
/* rgb */ color: rgb(123, 113, 64);
/* oklch */ color: oklch(54.6% 0.069 98.1);
Tailwind
colors: {
  custom: {
    50: '#a29976',
    500: '#7b7140',
    950: '#000000',
  },
}
SCSS
$custom: #7b7140;
$custom-light: #a29976;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7140",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 64
  },
  "hsl": {
    "h": 49.831,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.06929,
    "h": 98.1
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#7B7140
secondary
#727BA5
accent
#72C860
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #7B7140

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

Preview Lab → · Contrast checker → · Palette generator →

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