#787C62#787C62

#787C62 is a mid, muted yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.039 H 114.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#787C62
RGBrgb(120, 124, 98)
HSLhsl(69, 12%, 44%)
HSVhsv(69, 21%, 49%)
CMYKcmyk(3.2%, 0%, 21%, 51.4%)
CIE-LABlab(51.03, -6.32, 13.73)
CIE-LCHlch(51.03, 15.11, 114.72°)
OKLaboklab(57.55% -0.0161 0.0351)
OKLCHoklch(57.55% 0.039 114.7)
XYZxyz(17.1578, 19.2903, 14.3724)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C62 #66627C
analogous
#7C7362 #787C62 #6B7C62
triadic
#787C62 #62787C #7C6278
tetradic
#787C62 #627C73 #66627C #7C626B
square
#787C62 #627C73 #66627C #7C626B
split-complementary
#787C62 #626B7C #73627C
monochromatic
#36382C #575A47 #787C62 #979B80 #B3B6A3

Accessibility & contrast

On white

4.32
#787C62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#787C62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C62
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C62#FFFFFF#000000##000000
##787C621.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#807960
Deuteranopia (green-blind)
#807A63
Tritanopia (blue-blind)
#7B7975
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787c62;
/* rgb */ color: rgb(120, 124, 98);
/* oklch */ color: oklch(57.6% 0.039 114.7);
Tailwind
colors: {
  custom: {
    50: '#9fa18e',
    500: '#787c62',
    950: '#000000',
  },
}
SCSS
$custom: #787c62;
$custom-light: #9fa18e;
$custom-dark: #000000;
JSON
{
  "hex": "#787c62",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 98
  },
  "hsl": {
    "h": 69.231,
    "s": 11.712,
    "l": 43.529
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.03861,
    "h": 114.7
  },
  "luminance": 0.1929
}

Semantic roles & 50–950 ramp

primary
#787C62
secondary
#9795A5
accent
#73B57D
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0C
muted
#7E7E7D

Preview Lab

Preview with #787C62

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

Preview Lab → · Contrast checker → · Palette generator →

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