#7C7E4C#7C7E4C

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

Color values

HEX#7C7E4C
RGBrgb(124, 126, 76)
HSLhsl(62, 25%, 40%)
HSVhsv(62, 40%, 49%)
CMYKcmyk(1.6%, 0%, 39.7%, 50.6%)
CIE-LABlab(51.53, -8.93, 26.97)
CIE-LCHlch(51.53, 28.41, 108.33°)
OKLaboklab(57.9% -0.0245 0.0659)
OKLCHoklch(57.9% 0.07 110.4)
XYZxyz(17.0777, 19.7289, 9.7445)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7E4C #4E4C7E
analogous
#7E674C #7C7E4C #637E4C
triadic
#7C7E4C #4C7C7E #7E4C7C
tetradic
#7C7E4C #4C7E67 #4E4C7E #7E4C63
square
#7C7E4C #4C7E67 #4E4C7E #7E4C63
split-complementary
#7C7E4C #4C637E #674C7E
monochromatic
#31321E #565835 #7C7E4C #A0A265 #B7B98B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7E4C#FFFFFF#000000##000000
##7C7E4C1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A48
Deuteranopia (green-blind)
#867C4E
Tritanopia (blue-blind)
#827872
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c7e4c;
/* rgb */ color: rgb(124, 126, 76);
/* oklch */ color: oklch(57.9% 0.070 110.4);
Tailwind
colors: {
  custom: {
    50: '#a3a37f',
    500: '#7c7e4c',
    950: '#000000',
  },
}
SCSS
$custom: #7c7e4c;
$custom-light: #a3a37f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7e4c",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 76
  },
  "hsl": {
    "h": 62.4,
    "s": 24.752,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57902,
    "c": 0.07029,
    "h": 110.4
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#7C7E4C
secondary
#8280A6
accent
#67C16A
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7C7E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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