#7A7C1D#7A7C1D

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

Color values

HEX#7A7C1D
RGBrgb(122, 124, 29)
HSLhsl(61, 62%, 30%)
HSVhsv(61, 77%, 49%)
CMYKcmyk(1.6%, 0%, 76.6%, 51.4%)
CIE-LABlab(50.27, -12.72, 48.06)
CIE-LCHlch(50.27, 49.72, 104.82°)
OKLaboklab(56.69% -0.04 0.1057)
OKLCHoklch(56.69% 0.113 110.7)
XYZxyz(15.4560, 18.6420, 3.9463)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7C1D #1F1D7C
analogous
#7C4E1D #7A7C1D #4B7C1D
triadic
#7A7C1D #1D7A7C #7C1D7A
tetradic
#7A7C1D #1D7C4E #1F1D7C #7C1D4B
square
#7A7C1D #1D7C4E #1F1D7C #7C1D4B
split-complementary
#7A7C1D #1D4B7C #4E1D7C
monochromatic
#181906 #494A11 #7A7C1D #ABAE29 #CFD341

Accessibility & contrast

On white

4.44
#7A7C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7A7C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7C1D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7C1D#FFFFFF#000000##000000
##7A7C1D1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a7c1d;
/* rgb */ color: rgb(122, 124, 29);
/* oklch */ color: oklch(56.7% 0.113 110.7);
Tailwind
colors: {
  custom: {
    50: '#a4a161',
    500: '#7a7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #7a7c1d;
$custom-light: #a4a161;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7c1d",
  "rgb": {
    "r": 122,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 61.263,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.11306,
    "h": 110.7
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#7A7C1D
secondary
#4745B0
accent
#43E546
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7A7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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