#7C7E49#7C7E49

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

Color values

HEX#7C7E49
RGBrgb(124, 126, 73)
HSLhsl(62, 27%, 39%)
HSVhsv(62, 42%, 49%)
CMYKcmyk(1.6%, 0%, 42.1%, 50.6%)
CIE-LABlab(51.48, -9.29, 28.56)
CIE-LCHlch(51.48, 30.04, 108.02°)
OKLaboklab(57.85% -0.0257 0.0693)
OKLCHoklch(57.85% 0.074 110.4)
XYZxyz(16.9759, 19.6881, 9.2080)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7E49 #4B497E
analogous
#7E6649 #7C7E49 #627E49
triadic
#7C7E49 #497C7E #7E497C
tetradic
#7C7E49 #497E66 #4B497E #7E4962
square
#7C7E49 #497E66 #4B497E #7E4962
split-complementary
#7C7E49 #49627E #66497E
monochromatic
#30311C #565733 #7C7E49 #A1A361 #B8BA88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7E49#FFFFFF#000000##000000
##7C7E491.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)
#867A45
Deuteranopia (green-blind)
#867C4B
Tritanopia (blue-blind)
#837871
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c7e49;
/* rgb */ color: rgb(124, 126, 73);
/* oklch */ color: oklch(57.8% 0.074 110.4);
Tailwind
colors: {
  custom: {
    50: '#a3a37c',
    500: '#7c7e49',
    950: '#000000',
  },
}
SCSS
$custom: #7c7e49;
$custom-light: #a3a37c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7e49",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 73
  },
  "hsl": {
    "h": 62.264,
    "s": 26.633,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.07397,
    "h": 110.4
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#7C7E49
secondary
#7F7DA6
accent
#65C368
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7C7E49

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

Preview Lab → · Contrast checker → · Palette generator →

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