#7B7F41#7B7F41

#7B7F41 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.085 H 112.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7B7F41
RGBrgb(123, 127, 65)
HSLhsl(64, 32%, 38%)
HSVhsv(64, 49%, 50%)
CMYKcmyk(3.1%, 0%, 48.8%, 50.2%)
CIE-LABlab(51.58, -11.17, 32.97)
CIE-LCHlch(51.58, 34.81, 108.72°)
OKLaboklab(57.87% -0.0318 0.0786)
OKLCHoklch(57.87% 0.085 112)
XYZxyz(16.7122, 19.7716, 7.9359)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7F41 #45417F
analogous
#7F6441 #7B7F41 #5C7F41
triadic
#7B7F41 #417B7F #7F417B
tetradic
#7B7F41 #417F64 #45417F #7F415C
square
#7B7F41 #417F64 #45417F #7F415C
split-complementary
#7B7F41 #415C7F #64417F
monochromatic
#2D2E18 #54572C #7B7F41 #A2A756 #B9BD7E

Accessibility & contrast

On white

4.24
#7B7F41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7B7F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7F41
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7F41#FFFFFF#000000##000000
##7B7F411.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3C
Deuteranopia (green-blind)
#877C44
Tritanopia (blue-blind)
#827971
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b7f41;
/* rgb */ color: rgb(123, 127, 65);
/* oklch */ color: oklch(57.9% 0.085 112.0);
Tailwind
colors: {
  custom: {
    50: '#a2a477',
    500: '#7b7f41',
    950: '#000000',
  },
}
SCSS
$custom: #7b7f41;
$custom-light: #a2a477;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7f41",
  "rgb": {
    "r": 123,
    "g": 127,
    "b": 65
  },
  "hsl": {
    "h": 63.871,
    "s": 32.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57868,
    "c": 0.08481,
    "h": 112
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#7B7F41
secondary
#7874A7
accent
#5FC866
background
#FAFAF7
surface
#F4F3ED
border
#CECDC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7B7F41

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

Preview Lab → · Contrast checker → · Palette generator →

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