#7C7D1D#7C7D1D

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

Color values

HEX#7C7D1D
RGBrgb(124, 125, 29)
HSLhsl(61, 62%, 30%)
HSVhsv(61, 77%, 49%)
CMYKcmyk(0.8%, 0%, 76.8%, 51%)
CIE-LABlab(50.74, -12.34, 48.57)
CIE-LCHlch(50.74, 50.11, 104.25°)
OKLaboklab(57.11% -0.0391 0.1067)
OKLCHoklch(57.11% 0.114 110.1)
XYZxyz(15.8681, 19.0415, 4.0017)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D1D #1E1D7D
analogous
#7D4E1D #7C7D1D #4C7D1D
triadic
#7C7D1D #1D7C7D #7D1D7C
tetradic
#7C7D1D #1D7D4E #1E1D7D #7D1D4C
square
#7C7D1D #1D7D4E #1E1D7D #7D1D4C
split-complementary
#7C7D1D #1D4C7D #4E1D7D
monochromatic
#191A06 #4B4B11 #7C7D1D #ADAF29 #D1D341

Accessibility & contrast

On white

4.37
#7C7D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7C7D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7D1D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7D1D#FFFFFF#000000##000000
##7C7D1D1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c7d1d;
/* rgb */ color: rgb(124, 125, 29);
/* oklch */ color: oklch(57.1% 0.114 110.1);
Tailwind
colors: {
  custom: {
    50: '#a5a261',
    500: '#7c7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d1d;
$custom-light: #a5a261;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d1d",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 60.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57108,
    "c": 0.11365,
    "h": 110.1
  },
  "luminance": 0.19041
}

Semantic roles & 50–950 ramp

primary
#7C7D1D
secondary
#4645B1
accent
#42E544
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #7C7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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