#7C7B1D#7C7B1D

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

Color values

HEX#7C7B1D
RGBrgb(124, 123, 29)
HSLhsl(59, 62%, 30%)
HSVhsv(59, 77%, 49%)
CMYKcmyk(0%, 0.8%, 76.6%, 51.4%)
CIE-LABlab(50.14, -11.25, 48.01)
CIE-LCHlch(50.14, 49.31, 103.18°)
OKLaboklab(56.64% -0.0361 0.1055)
OKLCHoklch(56.64% 0.112 108.9)
XYZxyz(15.6175, 18.5402, 3.9181)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7B1D #1D1E7C
analogous
#7C4B1D #7C7B1D #4E7C1D
triadic
#7C7B1D #1D7C7B #7B1D7C
tetradic
#7C7B1D #1D7C4B #1D1E7C #7C1D4E
square
#7C7B1D #1D7C4B #1D1E7C #7C1D4E
split-complementary
#7C7B1D #1D4E7C #4B1D7C
monochromatic
#191906 #4A4A11 #7C7B1D #AEAC29 #D3D141

Accessibility & contrast

On white

4.46
#7C7B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7C7B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7B1D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7B1D#FFFFFF#000000##000000
##7C7B1D1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c7b1d;
/* rgb */ color: rgb(124, 123, 29);
/* oklch */ color: oklch(56.6% 0.112 108.9);
Tailwind
colors: {
  custom: {
    50: '#a5a061',
    500: '#7c7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7c7b1d;
$custom-light: #a5a061;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7b1d",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 59.368,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.11153,
    "h": 108.9
  },
  "luminance": 0.1854
}

Semantic roles & 50–950 ramp

primary
#7C7B1D
secondary
#4546B0
accent
#44E543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7C7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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