#7C7E4B#7C7E4B

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

Color values

HEX#7C7E4B
RGBrgb(124, 126, 75)
HSLhsl(62, 25%, 39%)
HSVhsv(62, 40%, 49%)
CMYKcmyk(1.6%, 0%, 40.5%, 50.6%)
CIE-LABlab(51.51, -9.06, 27.50)
CIE-LCHlch(51.51, 28.95, 108.22°)
OKLaboklab(57.88% -0.0249 0.0671)
OKLCHoklch(57.88% 0.072 110.4)
XYZxyz(17.0432, 19.7151, 9.5628)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7E4B #4D4B7E
analogous
#7E674B #7C7E4B #637E4B
triadic
#7C7E4B #4B7C7E #7E4B7C
tetradic
#7C7E4B #4B7E67 #4D4B7E #7E4B63
square
#7C7E4B #4B7E67 #4D4B7E #7E4B63
split-complementary
#7C7E4B #4B637E #674B7E
monochromatic
#30311D #565834 #7C7E4B #A0A364 #B8B98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7E4B#FFFFFF#000000##000000
##7C7E4B1.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)
#857A47
Deuteranopia (green-blind)
#867C4D
Tritanopia (blue-blind)
#827871
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c7e4b;
/* rgb */ color: rgb(124, 126, 75);
/* oklch */ color: oklch(57.9% 0.072 110.4);
Tailwind
colors: {
  custom: {
    50: '#a3a37e',
    500: '#7c7e4b',
    950: '#000000',
  },
}
SCSS
$custom: #7c7e4b;
$custom-light: #a3a37e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7e4b",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 75
  },
  "hsl": {
    "h": 62.353,
    "s": 25.373,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57884,
    "c": 0.07152,
    "h": 110.4
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#7C7E4B
secondary
#817FA6
accent
#66C26A
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7C7E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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