#7D7A1D#7D7A1D

#7D7A1D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.110 H 107.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D7A1D
RGBrgb(125, 122, 29)
HSLhsl(58, 62%, 30%)
HSVhsv(58, 77%, 49%)
CMYKcmyk(0%, 2.4%, 76.8%, 51%)
CIE-LABlab(49.94, -10.24, 47.85)
CIE-LCHlch(49.94, 48.94, 102.07°)
OKLaboklab(56.49% -0.0333 0.1052)
OKLCHoklch(56.49% 0.11 107.6)
XYZxyz(15.6394, 18.3683, 3.8838)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A1D #1D207D
analogous
#7D4A1D #7D7A1D #507D1D
triadic
#7D7A1D #1D7D7A #7A1D7D
tetradic
#7D7A1D #1D7D4A #1D207D #7D1D50
square
#7D7A1D #1D7D4A #1D207D #7D1D50
split-complementary
#7D7A1D #1D507D #4A1D7D
monochromatic
#1A1906 #4B4A11 #7D7A1D #AFAA29 #D3CE41

Accessibility & contrast

On white

4.49
#7D7A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7D7A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A1D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A1D#FFFFFF#000000##000000
##7D7A1D1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857509
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#877268
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a1d;
/* rgb */ color: rgb(125, 122, 29);
/* oklch */ color: oklch(56.5% 0.110 107.6);
Tailwind
colors: {
  custom: {
    50: '#a6a061',
    500: '#7d7a1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a1d;
$custom-light: #a6a061;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a1d",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 58.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.1103,
    "h": 107.6
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#7D7A1D
secondary
#4549B1
accent
#47E542
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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