#7D7B1B#7D7B1B

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

Color values

HEX#7D7B1B
RGBrgb(125, 123, 27)
HSLhsl(59, 64%, 30%)
HSVhsv(59, 78%, 49%)
CMYKcmyk(0%, 1.6%, 78.4%, 51%)
CIE-LABlab(50.22, -10.87, 48.82)
CIE-LCHlch(50.22, 50.02, 102.56°)
OKLaboklab(56.72% -0.0353 0.1068)
OKLCHoklch(56.72% 0.113 108.3)
XYZxyz(15.7389, 18.6055, 3.7989)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B1B #1B1D7D
analogous
#7D4A1B #7D7B1B #4E7D1B
triadic
#7D7B1B #1B7D7B #7B1B7D
tetradic
#7D7B1B #1B7D4A #1B1D7D #7D1B4E
square
#7D7B1B #1B7D4A #1B1D7D #7D1B4E
split-complementary
#7D7B1B #1B4E7D #4A1B7D
monochromatic
#191905 #4B4910 #7D7B1B #AFAD26 #D5D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7B1B#FFFFFF#000000##000000
##7D7B1B1.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)
#867604
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#867369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7b1b;
/* rgb */ color: rgb(125, 123, 27);
/* oklch */ color: oklch(56.7% 0.113 108.3);
Tailwind
colors: {
  custom: {
    50: '#a6a060',
    500: '#7d7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b1b;
$custom-light: #a6a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b1b",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 58.776,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.1125,
    "h": 108.3
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#7D7B1B
secondary
#4345B1
accent
#44E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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