#7A7B1A#7A7B1A

#7A7B1A is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.114 H 110.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7A7B1A
RGBrgb(122, 123, 26)
HSLhsl(61, 65%, 29%)
HSVhsv(61, 79%, 48%)
CMYKcmyk(0.8%, 0%, 78.9%, 51.8%)
CIE-LABlab(49.95, -12.31, 48.82)
CIE-LCHlch(49.95, 50.35, 104.15°)
OKLaboklab(56.43% -0.0392 0.1068)
OKLCHoklch(56.43% 0.114 110.2)
XYZxyz(15.2960, 18.3785, 3.7187)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B1A #1B1A7B
analogous
#7B4C1A #7A7B1A #4A7B1A
triadic
#7A7B1A #1A7A7B #7B1A7A
tetradic
#7A7B1A #1A7B4C #1B1A7B #7B1A4A
square
#7A7B1A #1A7B4C #1B1A7B #7B1A4A
split-complementary
#7A7B1A #1A4A7B #4C1A7B
monochromatic
#191905 #48480F #7A7B1A #ACAE25 #D4D53A

Accessibility & contrast

On white

4.49
#7A7B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7A7B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7B1A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7B1A#FFFFFF#000000##000000
##7A7B1A1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857502
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#837369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b1a;
/* rgb */ color: rgb(122, 123, 26);
/* oklch */ color: oklch(56.4% 0.114 110.2);
Tailwind
colors: {
  custom: {
    50: '#a4a060',
    500: '#7a7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b1a;
$custom-light: #a4a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b1a",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 60.619,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.11372,
    "h": 110.2
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#7A7B1A
secondary
#4342AF
accent
#40E841
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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