#7D7A2A#7D7A2A

#7D7A2A is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.101 H 107.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7D7A2A
RGBrgb(125, 122, 42)
HSLhsl(58, 50%, 33%)
HSVhsv(58, 66%, 49%)
CMYKcmyk(0%, 2.4%, 66.4%, 51%)
CIE-LABlab(50.03, -9.50, 42.63)
CIE-LCHlch(50.03, 43.68, 102.56°)
OKLaboklab(56.6% -0.0298 0.0965)
OKLCHoklch(56.6% 0.101 107.2)
XYZxyz(15.8354, 18.4467, 4.9165)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A2A #2A2D7D
analogous
#7D502A #7D7A2A #577D2A
triadic
#7D7A2A #2A7D7A #7A2A7D
tetradic
#7D7A2A #2A7D50 #2A2D7D #7D2A57
square
#7D7A2A #2A7D50 #2A2D7D #7D2A57
split-complementary
#7D7A2A #2A577D #502A7D
monochromatic
#21210B #4F4D1B #7D7A2A #ABA739 #C8C45A

Accessibility & contrast

On white

4.48
#7D7A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7D7A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A2A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A2A#FFFFFF#000000##000000
##7D7A2A1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847520
Deuteranopia (green-blind)
#86782F
Tritanopia (blue-blind)
#867269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a2a;
/* rgb */ color: rgb(125, 122, 42);
/* oklch */ color: oklch(56.6% 0.101 107.2);
Tailwind
colors: {
  custom: {
    50: '#a5a068',
    500: '#7d7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a2a;
$custom-light: #a5a068;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a2a",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 57.831,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.10102,
    "h": 107.2
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#7D7A2A
secondary
#5659AD
accent
#54D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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