#787E4E#787E4E

#787E4E is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.069 H 114.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#787E4E
RGBrgb(120, 126, 78)
HSLhsl(68, 24%, 40%)
HSVhsv(68, 38%, 49%)
CMYKcmyk(4.8%, 0%, 38.1%, 50.6%)
CIE-LABlab(51.23, -10.39, 25.40)
CIE-LCHlch(51.23, 27.45, 112.24°)
OKLaboklab(57.59% -0.0283 0.0624)
OKLCHoklch(57.59% 0.069 114.4)
XYZxyz(16.5818, 19.4650, 10.0898)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E4E #544E7E
analogous
#7E6C4E #787E4E #607E4E
triadic
#787E4E #4E787E #7E4E78
tetradic
#787E4E #4E7E6C #544E7E #7E4E60
square
#787E4E #4E7E6C #544E7E #7E4E60
split-complementary
#787E4E #4E607E #6C4E7E
monochromatic
#30321F #545837 #787E4E #9AA168 #B3B98E

Accessibility & contrast

On white

4.29
#787E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#787E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E4E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E4E#FFFFFF#000000##000000
##787E4E1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A4A
Deuteranopia (green-blind)
#847B50
Tritanopia (blue-blind)
#7D7972
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787e4e;
/* rgb */ color: rgb(120, 126, 78);
/* oklch */ color: oklch(57.6% 0.069 114.4);
Tailwind
colors: {
  custom: {
    50: '#a0a380',
    500: '#787e4e',
    950: '#000000',
  },
}
SCSS
$custom: #787e4e;
$custom-light: #a0a380;
$custom-dark: #000000;
JSON
{
  "hex": "#787e4e",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 67.5,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.06855,
    "h": 114.4
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#787E4E
secondary
#8782A6
accent
#68C073
background
#F9FAF7
surface
#F2F3EE
border
#CCCDC9
text
#0F0F0A
muted
#7E7F7C

Preview Lab

Preview with #787E4E

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

Preview Lab → · Contrast checker → · Palette generator →

#787E4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva