#787662#787662

#787662 is a mid, muted yellow. Relative luminance 0.178; OKLCH L 56.2% C 0.030 H 102.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#787662
RGBrgb(120, 118, 98)
HSLhsl(55, 10%, 43%)
HSVhsv(55, 18%, 47%)
CMYKcmyk(0%, 1.7%, 18.3%, 52.9%)
CIE-LABlab(49.29, -2.91, 11.32)
CIE-LCHlch(49.29, 11.68, 104.42°)
OKLaboklab(56.18% -0.0065 0.0291)
OKLCHoklch(56.18% 0.03 102.6)
XYZxyz(16.4286, 17.8320, 14.1294)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787662 #626478
analogous
#786B62 #787662 #6F7862
triadic
#787662 #627876 #766278
tetradic
#787662 #62786B #626478 #78626F
square
#787662 #62786B #626478 #78626F
split-complementary
#787662 #626F78 #6B6278
monochromatic
#35342B #565546 #787662 #979580 #B3B1A2

Accessibility & contrast

On white

4.60
#787662 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#787662 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787662
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787662#FFFFFF#000000##FFFFFF
##7876621.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7461
Deuteranopia (green-blind)
#7B7663
Tritanopia (blue-blind)
#7C7370
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787662;
/* rgb */ color: rgb(120, 118, 98);
/* oklch */ color: oklch(56.2% 0.030 102.6);
Tailwind
colors: {
  custom: {
    50: '#9f9d8e',
    500: '#787662',
    950: '#000000',
  },
}
SCSS
$custom: #787662;
$custom-light: #9f9d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#787662",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 98
  },
  "hsl": {
    "h": 54.545,
    "s": 10.092,
    "l": 42.745
  },
  "oklch": {
    "l": 0.56183,
    "c": 0.02981,
    "h": 102.6
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#787662
secondary
#9495A2
accent
#7AB375
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787662

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

Preview Lab → · Contrast checker → · Palette generator →

#787662 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva