#7C785E#7C785E

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

Color values

HEX#7C785E
RGBrgb(124, 120, 94)
HSLhsl(52, 14%, 43%)
HSVhsv(52, 24%, 49%)
CMYKcmyk(0%, 3.2%, 24.2%, 51.4%)
CIE-LABlab(50.13, -3.05, 14.87)
CIE-LCHlch(50.13, 15.18, 101.61°)
OKLaboklab(56.9% -0.0068 0.0378)
OKLCHoklch(56.9% 0.038 100.2)
XYZxyz(17.0490, 18.5265, 13.2653)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C785E #5E627C
analogous
#7C695E #7C785E #717C5E
triadic
#7C785E #5E7C78 #785E7C
tetradic
#7C785E #5E7C69 #5E627C #7C5E71
square
#7C785E #5E7C69 #5E627C #7C5E71
split-complementary
#7C785E #5E717C #695E7C
monochromatic
#363529 #595644 #7C785E #9B977C #B6B39F

Accessibility & contrast

On white

4.46
#7C785E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7C785E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C785E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C785E#FFFFFF#000000##000000
##7C785E1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c785e;
/* rgb */ color: rgb(124, 120, 94);
/* oklch */ color: oklch(56.9% 0.038 100.2);
Tailwind
colors: {
  custom: {
    50: '#a29e8b',
    500: '#7c785e',
    950: '#000000',
  },
}
SCSS
$custom: #7c785e;
$custom-light: #a29e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c785e",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 94
  },
  "hsl": {
    "h": 52,
    "s": 13.761,
    "l": 42.745
  },
  "oklch": {
    "l": 0.569,
    "c": 0.03844,
    "h": 100.2
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#7C785E
secondary
#9194A5
accent
#7AB771
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7C785E

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

Preview Lab → · Contrast checker → · Palette generator →

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