#7B7D1D#7B7D1D

#7B7D1D is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.114 H 110.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B7D1D
RGBrgb(123, 125, 29)
HSLhsl(61, 62%, 30%)
HSVhsv(61, 77%, 49%)
CMYKcmyk(1.6%, 0%, 76.8%, 51%)
CIE-LABlab(50.65, -12.80, 48.45)
CIE-LCHlch(50.65, 50.12, 104.80°)
OKLaboklab(57.02% -0.0403 0.1065)
OKLCHoklch(57.02% 0.114 110.7)
XYZxyz(15.7243, 18.9673, 3.9949)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D1D #1F1D7D
analogous
#7D4F1D #7B7D1D #4B7D1D
triadic
#7B7D1D #1D7B7D #7D1D7B
tetradic
#7B7D1D #1D7D4F #1F1D7D #7D1D4B
square
#7B7D1D #1D7D4F #1F1D7D #7D1D4B
split-complementary
#7B7D1D #1D4B7D #4F1D7D
monochromatic
#191A06 #4A4B11 #7B7D1D #ACAF29 #D0D341

Accessibility & contrast

On white

4.38
#7B7D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7B7D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D1D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D1D#FFFFFF#000000##000000
##7B7D1D1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#84756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7d1d;
/* rgb */ color: rgb(123, 125, 29);
/* oklch */ color: oklch(57.0% 0.114 110.7);
Tailwind
colors: {
  custom: {
    50: '#a4a261',
    500: '#7b7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d1d;
$custom-light: #a4a261;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d1d",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 61.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.1139,
    "h": 110.7
  },
  "luminance": 0.18967
}

Semantic roles & 50–950 ramp

primary
#7B7D1D
secondary
#4845B1
accent
#42E546
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #7B7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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