#7C7B3D#7C7B3D

#7C7B3D is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.0% C 0.084 H 108.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C7B3D
RGBrgb(124, 123, 61)
HSLhsl(59, 34%, 36%)
HSVhsv(59, 51%, 49%)
CMYKcmyk(0%, 0.8%, 50.8%, 51.4%)
CIE-LABlab(50.44, -8.94, 33.73)
CIE-LCHlch(50.44, 34.89, 104.84°)
OKLaboklab(56.96% -0.0259 0.0799)
OKLCHoklch(56.96% 0.084 108)
XYZxyz(16.2378, 18.7883, 7.1851)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7B3D #3D3E7C
analogous
#7C5C3D #7C7B3D #5E7C3D
triadic
#7C7B3D #3D7C7B #7B3D7C
tetradic
#7C7B3D #3D7C5C #3D3E7C #7C3D5E
square
#7C7B3D #3D7C5C #3D3E7C #7C3D5E
split-complementary
#7C7B3D #3D5E7C #5C3D7C
monochromatic
#2A2A15 #535229 #7C7B3D #A5A451 #BCBB77

Accessibility & contrast

On white

4.41
#7C7B3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7C7B3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7B3D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7B3D#FFFFFF#000000##000000
##7C7B3D1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#847737
Deuteranopia (green-blind)
#857940
Tritanopia (blue-blind)
#84746D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c7b3d;
/* rgb */ color: rgb(124, 123, 61);
/* oklch */ color: oklch(57.0% 0.084 108.0);
Tailwind
colors: {
  custom: {
    50: '#a3a174',
    500: '#7c7b3d',
    950: '#000000',
  },
}
SCSS
$custom: #7c7b3d;
$custom-light: #a3a174;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7b3d",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 61
  },
  "hsl": {
    "h": 59.048,
    "s": 34.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.08402,
    "h": 108
  },
  "luminance": 0.18788
}

Semantic roles & 50–950 ramp

primary
#7C7B3D
secondary
#6F6FA6
accent
#5FCA5E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7C7B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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