#7B7C1D#7B7C1D

#7B7C1D is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.113 H 110.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B7C1D
RGBrgb(123, 124, 29)
HSLhsl(61, 62%, 30%)
HSVhsv(61, 77%, 49%)
CMYKcmyk(0.8%, 0%, 76.6%, 51.4%)
CIE-LABlab(50.35, -12.25, 48.18)
CIE-LCHlch(50.35, 49.71, 104.27°)
OKLaboklab(56.78% -0.0388 0.1059)
OKLCHoklch(56.78% 0.113 110.1)
XYZxyz(15.5984, 18.7154, 3.9529)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7C1D #1E1D7C
analogous
#7C4E1D #7B7C1D #4B7C1D
triadic
#7B7C1D #1D7B7C #7C1D7B
tetradic
#7B7C1D #1D7C4E #1E1D7C #7C1D4B
square
#7B7C1D #1D7C4E #1E1D7C #7C1D4B
split-complementary
#7B7C1D #1D4B7C #4E1D7C
monochromatic
#191906 #4A4A11 #7B7C1D #ACAE29 #D1D341

Accessibility & contrast

On white

4.43
#7B7C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7B7C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7C1D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7C1D#FFFFFF#000000##000000
##7B7C1D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867608
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#84746A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b7c1d;
/* rgb */ color: rgb(123, 124, 29);
/* oklch */ color: oklch(56.8% 0.113 110.1);
Tailwind
colors: {
  custom: {
    50: '#a4a161',
    500: '#7b7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #7b7c1d;
$custom-light: #a4a161;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7c1d",
  "rgb": {
    "r": 123,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 60.632,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.5678,
    "c": 0.11282,
    "h": 110.1
  },
  "luminance": 0.18715
}

Semantic roles & 50–950 ramp

primary
#7B7C1D
secondary
#4645B0
accent
#43E544
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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