#7B7E4E#7B7E4E

#7B7E4E is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.068 H 111.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7B7E4E
RGBrgb(123, 126, 78)
HSLhsl(64, 24%, 40%)
HSVhsv(64, 38%, 49%)
CMYKcmyk(2.4%, 0%, 38.1%, 50.6%)
CIE-LABlab(51.48, -9.11, 25.78)
CIE-LCHlch(51.48, 27.34, 109.47°)
OKLaboklab(57.85% -0.0248 0.0633)
OKLCHoklch(57.85% 0.068 111.4)
XYZxyz(17.0045, 19.6830, 10.1097)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7E4E #514E7E
analogous
#7E694E #7B7E4E #637E4E
triadic
#7B7E4E #4E7B7E #7E4E7B
tetradic
#7B7E4E #4E7E69 #514E7E #7E4E63
square
#7B7E4E #4E7E69 #514E7E #7E4E63
split-complementary
#7B7E4E #4E637E #694E7E
monochromatic
#31321F #565837 #7B7E4E #9EA168 #B6B98E

Accessibility & contrast

On white

4.25
#7B7E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7B7E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7E4E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7E4E#FFFFFF#000000##000000
##7B7E4E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4A
Deuteranopia (green-blind)
#857B50
Tritanopia (blue-blind)
#817972
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b7e4e;
/* rgb */ color: rgb(123, 126, 78);
/* oklch */ color: oklch(57.9% 0.068 111.4);
Tailwind
colors: {
  custom: {
    50: '#a2a380',
    500: '#7b7e4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b7e4e;
$custom-light: #a2a380;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7e4e",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 63.75,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.06794,
    "h": 111.4
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#7B7E4E
secondary
#8482A6
accent
#68C06D
background
#FAFAF7
surface
#F3F3EE
border
#CDCDC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7B7E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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