#7A7A1A#7A7A1A

#7A7A1A is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.113 H 109.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7A7A1A
RGBrgb(122, 122, 26)
HSLhsl(60, 65%, 29%)
HSVhsv(60, 79%, 48%)
CMYKcmyk(0%, 0%, 78.7%, 52.2%)
CIE-LABlab(49.66, -11.76, 48.55)
CIE-LCHlch(49.66, 49.95, 103.62°)
OKLaboklab(56.2% -0.0377 0.1062)
OKLCHoklch(56.2% 0.113 109.5)
XYZxyz(15.1726, 18.1317, 3.6776)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7A1A #1A1A7A
analogous
#7A4A1A #7A7A1A #4A7A1A
triadic
#7A7A1A #1A7A7A #7A1A7A
tetradic
#7A7A1A #1A7A4A #1A1A7A #7A1A4A
square
#7A7A1A #1A7A4A #1A1A7A #7A1A4A
split-complementary
#7A7A1A #1A4A7A #4A1A7A
monochromatic
#191905 #48480F #7A7A1A #ACAC25 #D5D539

Accessibility & contrast

On white

4.54
#7A7A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7A7A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7A1A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7A1A#FFFFFF#000000##000000
##7A7A1A1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847502
Deuteranopia (green-blind)
#867722
Tritanopia (blue-blind)
#837268
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a7a1a;
/* rgb */ color: rgb(122, 122, 26);
/* oklch */ color: oklch(56.2% 0.113 109.5);
Tailwind
colors: {
  custom: {
    50: '#a4a05f',
    500: '#7a7a1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a7a1a;
$custom-light: #a4a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7a1a",
  "rgb": {
    "r": 122,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.11265,
    "h": 109.5
  },
  "luminance": 0.18131
}

Semantic roles & 50–950 ramp

primary
#7A7A1A
secondary
#4141AE
accent
#40E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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