#7C7E52#7C7E52

#7C7E52 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.063 H 110.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7C7E52
RGBrgb(124, 126, 82)
HSLhsl(63, 21%, 41%)
HSVhsv(63, 35%, 49%)
CMYKcmyk(1.6%, 0%, 34.9%, 50.6%)
CIE-LABlab(51.63, -8.16, 23.75)
CIE-LCHlch(51.63, 25.12, 108.97°)
OKLaboklab(58.01% -0.0219 0.0587)
OKLCHoklch(58.01% 0.063 110.4)
XYZxyz(17.2961, 19.8163, 10.8948)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7E52 #54527E
analogous
#7E6A52 #7C7E52 #667E52
triadic
#7C7E52 #527C7E #7E527C
tetradic
#7C7E52 #527E6A #54527E #7E5266
square
#7C7E52 #527E6A #54527E #7E5266
split-complementary
#7C7E52 #52667E #6A527E
monochromatic
#333422 #58593A #7C7E52 #9EA06D #B6B892

Accessibility & contrast

On white

4.23
#7C7E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7C7E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7E52
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7E52#FFFFFF#000000##000000
##7C7E521.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4F
Deuteranopia (green-blind)
#857C54
Tritanopia (blue-blind)
#827973
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c7e52;
/* rgb */ color: rgb(124, 126, 82);
/* oklch */ color: oklch(58.0% 0.063 110.4);
Tailwind
colors: {
  custom: {
    50: '#a2a383',
    500: '#7c7e52',
    950: '#000000',
  },
}
SCSS
$custom: #7c7e52;
$custom-light: #a2a383;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7e52",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 62.727,
    "s": 21.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58013,
    "c": 0.06268,
    "h": 110.4
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#7C7E52
secondary
#8886A5
accent
#6ABE6E
background
#FAFAF8
surface
#F4F3EF
border
#CECDCA
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7C7E52

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

Preview Lab → · Contrast checker → · Palette generator →

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