#7B7A41#7B7A41

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

Color values

HEX#7B7A41
RGBrgb(123, 122, 65)
HSLhsl(59, 31%, 37%)
HSVhsv(59, 47%, 48%)
CMYKcmyk(0%, 0.8%, 47.2%, 51.8%)
CIE-LABlab(50.11, -8.41, 31.19)
CIE-LCHlch(50.11, 32.30, 105.10°)
OKLaboklab(56.7% -0.0239 0.0747)
OKLCHoklch(56.7% 0.078 107.8)
XYZxyz(16.0824, 18.5121, 7.7260)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7A41 #41427B
analogous
#7B5D41 #7B7A41 #5F7B41
triadic
#7B7A41 #417B7A #7A417B
tetradic
#7B7A41 #417B5D #41427B #7B415F
square
#7B7A41 #417B5D #41427B #7B415F
split-complementary
#7B7A41 #415F7B #5D417B
monochromatic
#2B2B17 #53522C #7B7A41 #A3A256 #BAB97C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7A41#FFFFFF#000000##000000
##7B7A411.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b7a41;
/* rgb */ color: rgb(123, 122, 65);
/* oklch */ color: oklch(56.7% 0.078 107.8);
Tailwind
colors: {
  custom: {
    50: '#a2a077',
    500: '#7b7a41',
    950: '#000000',
  },
}
SCSS
$custom: #7b7a41;
$custom-light: #a2a077;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7a41",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 58.966,
    "s": 30.851,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56699,
    "c": 0.07842,
    "h": 107.8
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#7B7A41
secondary
#7374A5
accent
#63C761
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7B7A41

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

Preview Lab → · Contrast checker → · Palette generator →

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