#787462#787462

#787462 is a mid, muted yellow. Relative luminance 0.174; OKLCH L 55.7% C 0.027 H 96.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#787462
RGBrgb(120, 116, 98)
HSLhsl(49, 10%, 43%)
HSVhsv(49, 18%, 47%)
CMYKcmyk(0%, 3.3%, 18.3%, 52.9%)
CIE-LABlab(48.72, -1.76, 10.51)
CIE-LCHlch(48.72, 10.66, 99.50°)
OKLaboklab(55.73% -0.0032 0.0271)
OKLCHoklch(55.73% 0.027 96.8)
XYZxyz(16.1956, 17.3659, 14.0517)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787462 #626678
analogous
#786962 #787462 #717862
triadic
#787462 #627874 #746278
tetradic
#787462 #627869 #626678 #786271
square
#787462 #627869 #626678 #786271
split-complementary
#787462 #627178 #696278
monochromatic
#35332B #565346 #787462 #979380 #B3B0A2

Accessibility & contrast

On white

4.69
#787462 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#787462 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787462
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787462#FFFFFF#000000##FFFFFF
##7874621.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787361
Deuteranopia (green-blind)
#797463
Tritanopia (blue-blind)
#7C716F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #787462;
/* rgb */ color: rgb(120, 116, 98);
/* oklch */ color: oklch(55.7% 0.027 96.8);
Tailwind
colors: {
  custom: {
    50: '#9f9c8e',
    500: '#787462',
    950: '#000000',
  },
}
SCSS
$custom: #787462;
$custom-light: #9f9c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#787462",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 98
  },
  "hsl": {
    "h": 49.091,
    "s": 10.092,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5573,
    "c": 0.02728,
    "h": 96.8
  },
  "luminance": 0.17366
}

Semantic roles & 50–950 ramp

primary
#787462
secondary
#9496A2
accent
#80B375
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787462

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

Preview Lab → · Contrast checker → · Palette generator →

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