#7D7B1D#7D7B1D

#7D7B1D is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.111 H 108.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D7B1D
RGBrgb(125, 123, 29)
HSLhsl(59, 62%, 30%)
HSVhsv(59, 77%, 49%)
CMYKcmyk(0%, 1.6%, 76.8%, 51%)
CIE-LABlab(50.23, -10.78, 48.13)
CIE-LCHlch(50.23, 49.32, 102.63°)
OKLaboklab(56.73% -0.0348 0.1058)
OKLCHoklch(56.73% 0.111 108.2)
XYZxyz(15.7628, 18.6151, 3.9249)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B1D #1D1F7D
analogous
#7D4B1D #7D7B1D #4F7D1D
triadic
#7D7B1D #1D7D7B #7B1D7D
tetradic
#7D7B1D #1D7D4B #1D1F7D #7D1D4F
square
#7D7B1D #1D7D4B #1D1F7D #7D1D4F
split-complementary
#7D7B1D #1D4F7D #4B1D7D
monochromatic
#1A1906 #4B4A11 #7D7B1D #AFAC29 #D3D041

Accessibility & contrast

On white

4.45
#7D7B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7D7B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7B1D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7B1D#FFFFFF#000000##000000
##7D7B1D1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867609
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#867369
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7b1d;
/* rgb */ color: rgb(125, 123, 29);
/* oklch */ color: oklch(56.7% 0.111 108.2);
Tailwind
colors: {
  custom: {
    50: '#a6a061',
    500: '#7d7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b1d;
$custom-light: #a6a061;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b1d",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 58.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56728,
    "c": 0.11134,
    "h": 108.2
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#7D7B1D
secondary
#4548B1
accent
#46E542
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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