#7A785F#7A785F

#7A785F is a mid, muted yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.037 H 103.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7A785F
RGBrgb(122, 120, 95)
HSLhsl(56, 12%, 43%)
HSVhsv(56, 22%, 48%)
CMYKcmyk(0%, 1.6%, 22.1%, 52.2%)
CIE-LABlab(49.97, -3.72, 14.04)
CIE-LCHlch(49.97, 14.53, 104.85°)
OKLaboklab(56.74% -0.0087 0.0358)
OKLCHoklch(56.74% 0.037 103.7)
XYZxyz(16.8080, 18.3970, 13.4898)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A785F #5F617A
analogous
#7A6B5F #7A785F #6E7A5F
triadic
#7A785F #5F7A78 #785F7A
tetradic
#7A785F #5F7A6B #5F617A #7A5F6E
square
#7A785F #5F7A6B #5F617A #7A5F6E
split-complementary
#7A785F #5F6E7A #6B5F7A
monochromatic
#353429 #585644 #7A785F #9A977D #B4B39F

Accessibility & contrast

On white

4.49
#7A785F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7A785F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A785F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A785F#FFFFFF#000000##000000
##7A785F1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D765D
Deuteranopia (green-blind)
#7E7860
Tritanopia (blue-blind)
#7E7571
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a785f;
/* rgb */ color: rgb(122, 120, 95);
/* oklch */ color: oklch(56.7% 0.037 103.7);
Tailwind
colors: {
  custom: {
    50: '#a09e8c',
    500: '#7a785f',
    950: '#000000',
  },
}
SCSS
$custom: #7a785f;
$custom-light: #a09e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a785f",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 95
  },
  "hsl": {
    "h": 55.556,
    "s": 12.442,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.03687,
    "h": 103.7
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#7A785F
secondary
#9293A3
accent
#77B572
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #7A785F

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

Preview Lab → · Contrast checker → · Palette generator →

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