#7A7D1D#7A7D1D

#7A7D1D is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.114 H 111.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7A7D1D
RGBrgb(122, 125, 29)
HSLhsl(62, 62%, 30%)
HSVhsv(62, 77%, 49%)
CMYKcmyk(2.4%, 0%, 76.8%, 51%)
CIE-LABlab(50.56, -13.26, 48.34)
CIE-LCHlch(50.56, 50.13, 105.34°)
OKLaboklab(56.93% -0.0416 0.1063)
OKLCHoklch(56.93% 0.114 111.4)
XYZxyz(15.5820, 18.8939, 3.9882)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D1D #201D7D
analogous
#7D501D #7A7D1D #4A7D1D
triadic
#7A7D1D #1D7A7D #7D1D7A
tetradic
#7A7D1D #1D7D50 #201D7D #7D1D4A
square
#7A7D1D #1D7D50 #201D7D #7D1D4A
split-complementary
#7A7D1D #1D4A7D #501D7D
monochromatic
#191A06 #4A4B11 #7A7D1D #AAAF29 #CED341

Accessibility & contrast

On white

4.39
#7A7D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7A7D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7D1D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7D1D#FFFFFF#000000##000000
##7A7D1D1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#83756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a7d1d;
/* rgb */ color: rgb(122, 125, 29);
/* oklch */ color: oklch(56.9% 0.114 111.4);
Tailwind
colors: {
  custom: {
    50: '#a4a261',
    500: '#7a7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d1d;
$custom-light: #a4a261;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d1d",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 61.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.11415,
    "h": 111.4
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#7A7D1D
secondary
#4945B1
accent
#42E547
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #7A7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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