#7B7C4E#7B7C4E

#7B7C4E is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.065 H 109.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7B7C4E
RGBrgb(123, 124, 78)
HSLhsl(61, 23%, 40%)
HSVhsv(61, 37%, 49%)
CMYKcmyk(0.8%, 0%, 37.1%, 51.4%)
CIE-LABlab(50.89, -8.00, 25.02)
CIE-LCHlch(50.89, 26.27, 107.73°)
OKLaboklab(57.39% -0.0216 0.0615)
OKLCHoklch(57.39% 0.065 109.4)
XYZxyz(16.7513, 19.1766, 10.0253)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7C4E #4F4E7C
analogous
#7C664E #7B7C4E #647C4E
triadic
#7B7C4E #4E7B7C #7C4E7B
tetradic
#7B7C4E #4E7C66 #4F4E7C #7C4E64
square
#7B7C4E #4E7C66 #4F4E7C #7C4E64
split-complementary
#7B7C4E #4E647C #664E7C
monochromatic
#30311F #565636 #7B7C4E #9EA067 #B6B78D

Accessibility & contrast

On white

4.34
#7B7C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7B7C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7C4E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7C4E#FFFFFF#000000##000000
##7B7C4E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83784B
Deuteranopia (green-blind)
#847A50
Tritanopia (blue-blind)
#817770
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7c4e;
/* rgb */ color: rgb(123, 124, 78);
/* oklch */ color: oklch(57.4% 0.065 109.4);
Tailwind
colors: {
  custom: {
    50: '#a2a180',
    500: '#7b7c4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b7c4e;
$custom-light: #a2a180;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7c4e",
  "rgb": {
    "r": 123,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 61.304,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.06521,
    "h": 109.4
  },
  "luminance": 0.19176
}

Semantic roles & 50–950 ramp

primary
#7B7C4E
secondary
#8282A4
accent
#69BF6A
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0F0A
muted
#7F7E7C

Preview Lab

Preview with #7B7C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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