#7C7B2B#7C7B2B

#7C7B2B is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.101 H 108.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7C7B2B
RGBrgb(124, 123, 43)
HSLhsl(59, 49%, 33%)
HSVhsv(59, 65%, 49%)
CMYKcmyk(0%, 0.8%, 65.3%, 51.4%)
CIE-LABlab(50.25, -10.44, 42.38)
CIE-LCHlch(50.25, 43.65, 103.84°)
OKLaboklab(56.75% -0.0323 0.0962)
OKLCHoklch(56.75% 0.101 108.6)
XYZxyz(15.8317, 18.6259, 5.0462)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7B2B #2B2C7C
analogous
#7C522B #7C7B2B #557C2B
triadic
#7C7B2B #2B7C7B #7B2B7C
tetradic
#7C7B2B #2B7C52 #2B2C7C #7C2B55
square
#7C7B2B #2B7C52 #2B2C7C #7C2B55
split-complementary
#7C7B2B #2B557C #522B7C
monochromatic
#21210B #4F4E1B #7C7B2B #A9A83B #C6C55B

Accessibility & contrast

On white

4.44
#7C7B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7C7B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7B2B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7B2B#FFFFFF#000000##000000
##7C7B2B1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857621
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#85736A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c7b2b;
/* rgb */ color: rgb(124, 123, 43);
/* oklch */ color: oklch(56.7% 0.101 108.6);
Tailwind
colors: {
  custom: {
    50: '#a4a169',
    500: '#7c7b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7c7b2b;
$custom-light: #a4a169;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7b2b",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 59.259,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.10145,
    "h": 108.6
  },
  "luminance": 0.18625
}

Semantic roles & 50–950 ramp

primary
#7C7B2B
secondary
#5758AC
accent
#51D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7C7B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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