#7D7C1D#7D7C1D

#7D7C1D is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.112 H 108.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7D7C1D
RGBrgb(125, 124, 29)
HSLhsl(59, 62%, 30%)
HSVhsv(59, 77%, 49%)
CMYKcmyk(0%, 0.8%, 76.8%, 51%)
CIE-LABlab(50.53, -11.33, 48.40)
CIE-LCHlch(50.53, 49.71, 103.18°)
OKLaboklab(56.96% -0.0363 0.1063)
OKLCHoklch(56.96% 0.112 108.9)
XYZxyz(15.8875, 18.8645, 3.9665)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C1D #1D1E7D
analogous
#7D4C1D #7D7C1D #4E7D1D
triadic
#7D7C1D #1D7D7C #7C1D7D
tetradic
#7D7C1D #1D7D4C #1D1E7D #7D1D4E
square
#7D7C1D #1D7D4C #1D1E7D #7D1D4E
split-complementary
#7D7C1D #1D4E7D #4C1D7D
monochromatic
#1A1906 #4B4B11 #7D7C1D #AFAD29 #D3D141

Accessibility & contrast

On white

4.40
#7D7C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7D7C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C1D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C1D#FFFFFF#000000##000000
##7D7C1D1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7c1d;
/* rgb */ color: rgb(125, 124, 29);
/* oklch */ color: oklch(57.0% 0.112 108.9);
Tailwind
colors: {
  custom: {
    50: '#a6a161',
    500: '#7d7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c1d;
$custom-light: #a6a161;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c1d",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 59.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.11237,
    "h": 108.9
  },
  "luminance": 0.18864
}

Semantic roles & 50–950 ramp

primary
#7D7C1D
secondary
#4546B1
accent
#44E542
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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