#7D7142#7D7142

#7D7142 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.067 H 95.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D7142
RGBrgb(125, 113, 66)
HSLhsl(48, 31%, 37%)
HSVhsv(48, 47%, 49%)
CMYKcmyk(0%, 9.6%, 47.2%, 51%)
CIE-LABlab(47.71, -2.33, 27.70)
CIE-LCHlch(47.71, 27.80, 94.81°)
OKLaboklab(54.84% -0.0064 0.0669)
OKLCHoklch(54.84% 0.067 95.5)
XYZxyz(15.3464, 16.5641, 7.5420)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7142 #424E7D
analogous
#7D5442 #7D7142 #6B7D42
triadic
#7D7142 #427D71 #71427D
tetradic
#7D7142 #427D54 #424E7D #7D426B
square
#7D7142 #427D54 #424E7D #7D426B
split-complementary
#7D7142 #426B7D #54427D
monochromatic
#2D2918 #554D2D #7D7142 #A59557 #BBAF7E

Accessibility & contrast

On white

4.87
#7D7142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7D7142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7142
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7142#FFFFFF#000000##FFFFFF
##7D71421.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3E
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#856B66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7142;
/* rgb */ color: rgb(125, 113, 66);
/* oklch */ color: oklch(54.8% 0.067 95.5);
Tailwind
colors: {
  custom: {
    50: '#a49977',
    500: '#7d7142',
    950: '#000000',
  },
}
SCSS
$custom: #7d7142;
$custom-light: #a49977;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7142",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 47.797,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.06725,
    "h": 95.5
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

primary
#7D7142
secondary
#757FA6
accent
#76C761
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0D09
muted
#7F7E7B

Preview Lab

Preview with #7D7142

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

Preview Lab → · Contrast checker → · Palette generator →

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