#7B7D4E#7B7D4E

#7B7D4E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.067 H 110.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7B7D4E
RGBrgb(123, 125, 78)
HSLhsl(63, 23%, 40%)
HSVhsv(63, 38%, 49%)
CMYKcmyk(1.6%, 0%, 37.6%, 51%)
CIE-LABlab(51.18, -8.56, 25.40)
CIE-LCHlch(51.18, 26.80, 108.62°)
OKLaboklab(57.62% -0.0232 0.0624)
OKLCHoklch(57.62% 0.067 110.4)
XYZxyz(16.8773, 19.4285, 10.0672)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D4E #504E7D
analogous
#7D684E #7B7D4E #647D4E
triadic
#7B7D4E #4E7B7D #7D4E7B
tetradic
#7B7D4E #4E7D68 #504E7D #7D4E64
square
#7B7D4E #4E7D68 #504E7D #7D4E64
split-complementary
#7B7D4E #4E647D #684E7D
monochromatic
#31321F #565736 #7B7D4E #9EA168 #B6B88D

Accessibility & contrast

On white

4.30
#7B7D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7B7D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D4E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D4E#FFFFFF#000000##000000
##7B7D4E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84794B
Deuteranopia (green-blind)
#847B50
Tritanopia (blue-blind)
#817871
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7b7d4e;
/* rgb */ color: rgb(123, 125, 78);
/* oklch */ color: oklch(57.6% 0.067 110.4);
Tailwind
colors: {
  custom: {
    50: '#a2a280',
    500: '#7b7d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d4e;
$custom-light: #a2a280;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d4e",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 62.553,
    "s": 23.153,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.06656,
    "h": 110.4
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#7B7D4E
secondary
#8382A5
accent
#68C06C
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0F0A
muted
#7F7E7C

Preview Lab

Preview with #7B7D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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