#787A62#787A62

#787A62 is a mid, muted yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.036 H 111.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#787A62
RGBrgb(120, 122, 98)
HSLhsl(65, 11%, 43%)
HSVhsv(65, 20%, 48%)
CMYKcmyk(1.6%, 0%, 19.7%, 52.2%)
CIE-LABlab(50.45, -5.19, 12.92)
CIE-LCHlch(50.45, 13.93, 111.88°)
OKLaboklab(57.1% -0.013 0.0331)
OKLCHoklch(57.1% 0.036 111.4)
XYZxyz(16.9097, 18.7941, 14.2897)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A62 #64627A
analogous
#7A7062 #787A62 #6C7A62
triadic
#787A62 #62787A #7A6278
tetradic
#787A62 #627A70 #64627A #7A626C
square
#787A62 #627A70 #64627A #7A626C
split-complementary
#787A62 #626C7A #70627A
monochromatic
#35362B #575847 #787A62 #979980 #B3B4A2

Accessibility & contrast

On white

4.41
#787A62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#787A62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A62
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A62#FFFFFF#000000##000000
##787A621.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7861
Deuteranopia (green-blind)
#7E7863
Tritanopia (blue-blind)
#7B7773
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787a62;
/* rgb */ color: rgb(120, 122, 98);
/* oklch */ color: oklch(57.1% 0.036 111.4);
Tailwind
colors: {
  custom: {
    50: '#9fa08e',
    500: '#787a62',
    950: '#000000',
  },
}
SCSS
$custom: #787a62;
$custom-light: #9fa08e;
$custom-dark: #000000;
JSON
{
  "hex": "#787a62",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 98
  },
  "hsl": {
    "h": 65,
    "s": 10.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.03553,
    "h": 111.4
  },
  "luminance": 0.18794
}

Semantic roles & 50–950 ramp

primary
#787A62
secondary
#9694A3
accent
#74B479
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787A62

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

Preview Lab → · Contrast checker → · Palette generator →

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