#7A7D1A#7A7D1A

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

Color values

HEX#7A7D1A
RGBrgb(122, 125, 26)
HSLhsl(62, 66%, 30%)
HSVhsv(62, 79%, 49%)
CMYKcmyk(2.4%, 0%, 79.2%, 51%)
CIE-LABlab(50.55, -13.39, 49.36)
CIE-LCHlch(50.55, 51.15, 105.18°)
OKLaboklab(56.91% -0.0422 0.1079)
OKLCHoklch(56.91% 0.116 111.4)
XYZxyz(15.5467, 18.8798, 3.8023)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D1A #1D1A7D
analogous
#7D4F1A #7A7D1A #497D1A
triadic
#7A7D1A #1A7A7D #7D1A7A
tetradic
#7A7D1A #1A7D4F #1D1A7D #7D1A49
square
#7A7D1A #1A7D4F #1D1A7D #7D1A49
split-complementary
#7A7D1A #1A497D #4F1A7D
monochromatic
#191905 #494A0F #7A7D1A #ABB025 #D2D63B

Accessibility & contrast

On white

4.40
#7A7D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7D1A#FFFFFF#000000##000000
##7A7D1A1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a7d1a;
/* rgb */ color: rgb(122, 125, 26);
/* oklch */ color: oklch(56.9% 0.116 111.4);
Tailwind
colors: {
  custom: {
    50: '#a4a260',
    500: '#7a7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d1a;
$custom-light: #a4a260;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d1a",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 61.818,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.11586,
    "h": 111.4
  },
  "luminance": 0.18879
}

Semantic roles & 50–950 ramp

primary
#7A7D1A
secondary
#4542B1
accent
#3FE944
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7A7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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