#787B62#787B62

#787B62 is a mid, muted yellow. Relative luminance 0.190; OKLCH L 57.3% C 0.037 H 113.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#787B62
RGBrgb(120, 123, 98)
HSLhsl(67, 11%, 43%)
HSVhsv(67, 20%, 48%)
CMYKcmyk(2.4%, 0%, 20.3%, 51.8%)
CIE-LABlab(50.73, -5.76, 13.33)
CIE-LCHlch(50.73, 14.52, 113.36°)
OKLaboklab(57.32% -0.0146 0.0341)
OKLCHoklch(57.32% 0.037 113.1)
XYZxyz(17.0331, 19.0409, 14.3309)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B62 #65627B
analogous
#7B7162 #787B62 #6B7B62
triadic
#787B62 #62787B #7B6278
tetradic
#787B62 #627B71 #65627B #7B626B
square
#787B62 #627B71 #65627B #7B626B
split-complementary
#787B62 #626B7B #71627B
monochromatic
#36372C #575947 #787B62 #979A80 #B3B5A2

Accessibility & contrast

On white

4.37
#787B62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#787B62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787B62
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787B62#FFFFFF#000000##000000
##787B621.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7860
Deuteranopia (green-blind)
#7F7963
Tritanopia (blue-blind)
#7B7874
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787b62;
/* rgb */ color: rgb(120, 123, 98);
/* oklch */ color: oklch(57.3% 0.037 113.1);
Tailwind
colors: {
  custom: {
    50: '#9fa18e',
    500: '#787b62',
    950: '#000000',
  },
}
SCSS
$custom: #787b62;
$custom-light: #9fa18e;
$custom-dark: #000000;
JSON
{
  "hex": "#787b62",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 98
  },
  "hsl": {
    "h": 67.2,
    "s": 11.312,
    "l": 43.333
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.03706,
    "h": 113.1
  },
  "luminance": 0.19041
}

Semantic roles & 50–950 ramp

primary
#787B62
secondary
#9695A4
accent
#74B47B
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787B62

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

Preview Lab → · Contrast checker → · Palette generator →

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