#7D7A42#7D7A42

#7D7A42 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.077 H 105.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7D7A42
RGBrgb(125, 122, 66)
HSLhsl(57, 31%, 37%)
HSVhsv(57, 47%, 49%)
CMYKcmyk(0%, 2.4%, 47.2%, 51%)
CIE-LABlab(50.30, -7.42, 30.92)
CIE-LCHlch(50.30, 31.80, 103.50°)
OKLaboklab(56.9% -0.0211 0.0741)
OKLCHoklch(56.9% 0.077 105.9)
XYZxyz(16.4007, 18.6728, 7.8935)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A42 #42457D
analogous
#7D5C42 #7D7A42 #637D42
triadic
#7D7A42 #427D7A #7A427D
tetradic
#7D7A42 #427D5C #42457D #7D4263
square
#7D7A42 #427D5C #42457D #7D4263
split-complementary
#7D7A42 #42637D #5C427D
monochromatic
#2D2C18 #55532D #7D7A42 #A5A157 #BBB87E

Accessibility & contrast

On white

4.44
#7D7A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7D7A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A42
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A42#FFFFFF#000000##000000
##7D7A421.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#847945
Tritanopia (blue-blind)
#85746D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7a42;
/* rgb */ color: rgb(125, 122, 66);
/* oklch */ color: oklch(56.9% 0.077 105.9);
Tailwind
colors: {
  custom: {
    50: '#a4a077',
    500: '#7d7a42',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a42;
$custom-light: #a4a077;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a42",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 56.949,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.07709,
    "h": 105.9
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#7D7A42
secondary
#7577A6
accent
#66C761
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7D7A42

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

Preview Lab → · Contrast checker → · Palette generator →

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