#7C785D#7C785D

#7C785D is a mid, muted yellow. Relative luminance 0.185; OKLCH L 56.9% C 0.040 H 100.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7C785D
RGBrgb(124, 120, 93)
HSLhsl(52, 14%, 43%)
HSVhsv(52, 25%, 49%)
CMYKcmyk(0%, 3.2%, 25%, 51.4%)
CIE-LABlab(50.11, -3.21, 15.42)
CIE-LCHlch(50.11, 15.75, 101.75°)
OKLaboklab(56.88% -0.0073 0.0392)
OKLCHoklch(56.88% 0.04 100.5)
XYZxyz(17.0044, 18.5086, 13.0306)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C785D #5D617C
analogous
#7C685D #7C785D #717C5D
triadic
#7C785D #5D7C78 #785D7C
tetradic
#7C785D #5D7C68 #5D617C #7C5D71
square
#7C785D #5D7C68 #5D617C #7C5D71
split-complementary
#7C785D #5D717C #685D7C
monochromatic
#363429 #595643 #7C785D #9C977B #B6B39E

Accessibility & contrast

On white

4.47
#7C785D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7C785D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C785D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C785D#FFFFFF#000000##000000
##7C785D1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D765B
Deuteranopia (green-blind)
#7F785E
Tritanopia (blue-blind)
#817471
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c785d;
/* rgb */ color: rgb(124, 120, 93);
/* oklch */ color: oklch(56.9% 0.040 100.5);
Tailwind
colors: {
  custom: {
    50: '#a29e8b',
    500: '#7c785d',
    950: '#000000',
  },
}
SCSS
$custom: #7c785d;
$custom-light: #a29e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c785d",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 93
  },
  "hsl": {
    "h": 52.258,
    "s": 14.286,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.03983,
    "h": 100.5
  },
  "luminance": 0.18508
}

Semantic roles & 50–950 ramp

primary
#7C785D
secondary
#9093A4
accent
#7AB771
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7C785D

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

Preview Lab → · Contrast checker → · Palette generator →

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