#7A7B2A#7A7B2A

#7A7B2A is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.103 H 110.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A7B2A
RGBrgb(122, 123, 42)
HSLhsl(61, 49%, 32%)
HSVhsv(61, 66%, 48%)
CMYKcmyk(0.8%, 0%, 65.9%, 51.8%)
CIE-LABlab(50.06, -11.42, 42.58)
CIE-LCHlch(50.06, 44.09, 105.01°)
OKLaboklab(56.56% -0.035 0.0965)
OKLCHoklch(56.56% 0.103 110)
XYZxyz(15.5274, 18.4711, 4.9374)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B2A #2B2A7B
analogous
#7B542A #7A7B2A #517B2A
triadic
#7A7B2A #2A7A7B #7B2A7A
tetradic
#7A7B2A #2A7B54 #2B2A7B #7B2A51
square
#7A7B2A #2A7B54 #2B2A7B #7B2A51
split-complementary
#7A7B2A #2A517B #542A7B
monochromatic
#1F200B #4D4D1A #7A7B2A #A7A93A #C5C659

Accessibility & contrast

On white

4.47
#7A7B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7A7B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7B2A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7B2A#FFFFFF#000000##000000
##7A7B2A1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857620
Deuteranopia (green-blind)
#86782F
Tritanopia (blue-blind)
#82736A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b2a;
/* rgb */ color: rgb(122, 123, 42);
/* oklch */ color: oklch(56.6% 0.103 110.0);
Tailwind
colors: {
  custom: {
    50: '#a3a168',
    500: '#7a7b2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b2a;
$custom-light: #a3a168;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b2a",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 60.741,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.10266,
    "h": 110
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#7A7B2A
secondary
#5655AC
accent
#4FD951
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A7B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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