#7B7A42#7B7A42

#7B7A42 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.7% C 0.077 H 107.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7B7A42
RGBrgb(123, 122, 66)
HSLhsl(59, 30%, 37%)
HSVhsv(59, 46%, 48%)
CMYKcmyk(0%, 0.8%, 46.3%, 51.8%)
CIE-LABlab(50.13, -8.30, 30.66)
CIE-LCHlch(50.13, 31.77, 105.15°)
OKLaboklab(56.72% -0.0235 0.0736)
OKLCHoklch(56.72% 0.077 107.7)
XYZxyz(16.1116, 18.5237, 7.8799)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7A42 #42437B
analogous
#7B5E42 #7B7A42 #607B42
triadic
#7B7A42 #427B7A #7A427B
tetradic
#7B7A42 #427B5E #42437B #7B4260
square
#7B7A42 #427B5E #42437B #7B4260
split-complementary
#7B7A42 #42607B #5E427B
monochromatic
#2B2B17 #53522D #7B7A42 #A3A257 #BAB97E

Accessibility & contrast

On white

4.46
#7B7A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7B7A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7A42
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7A42#FFFFFF#000000##000000
##7B7A421.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#837845
Tritanopia (blue-blind)
#82746D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b7a42;
/* rgb */ color: rgb(123, 122, 66);
/* oklch */ color: oklch(56.7% 0.077 107.7);
Tailwind
colors: {
  custom: {
    50: '#a2a077',
    500: '#7b7a42',
    950: '#000000',
  },
}
SCSS
$custom: #7b7a42;
$custom-light: #a2a077;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7a42",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 58.947,
    "s": 30.159,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.07726,
    "h": 107.7
  },
  "luminance": 0.18523
}

Semantic roles & 50–950 ramp

primary
#7B7A42
secondary
#7475A5
accent
#63C661
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7B7A42

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

Preview Lab → · Contrast checker → · Palette generator →

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