#787260#787260

#787260 is a mid, muted yellow. Relative luminance 0.169; OKLCH L 55.2% C 0.028 H 91.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#787260
RGBrgb(120, 114, 96)
HSLhsl(45, 11%, 42%)
HSVhsv(45, 20%, 47%)
CMYKcmyk(0%, 5%, 20%, 52.9%)
CIE-LABlab(48.10, -0.94, 10.82)
CIE-LCHlch(48.10, 10.87, 94.94°)
OKLaboklab(55.23% -0.0008 0.0279)
OKLCHoklch(55.23% 0.028 91.7)
XYZxyz(15.8743, 16.8725, 13.4845)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787260 #606678
analogous
#786660 #787260 #727860
triadic
#787260 #607872 #726078
tetradic
#787260 #607866 #606678 #786072
square
#787260 #607866 #606678 #786072
split-complementary
#787260 #607278 #666078
monochromatic
#34312A #565245 #787260 #98917E #B3AEA0

Accessibility & contrast

On white

4.80
#787260 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#787260 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787260
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787260#FFFFFF#000000##FFFFFF
##7872601.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715F
Deuteranopia (green-blind)
#787361
Tritanopia (blue-blind)
#7C6F6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787260;
/* rgb */ color: rgb(120, 114, 96);
/* oklch */ color: oklch(55.2% 0.028 91.7);
Tailwind
colors: {
  custom: {
    50: '#9f9a8d',
    500: '#787260',
    950: '#000000',
  },
}
SCSS
$custom: #787260;
$custom-light: #9f9a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#787260",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 96
  },
  "hsl": {
    "h": 45,
    "s": 11.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55227,
    "c": 0.02787,
    "h": 91.7
  },
  "luminance": 0.16872
}

Semantic roles & 50–950 ramp

primary
#787260
secondary
#9296A2
accent
#84B474
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D

Preview Lab

Preview with #787260

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

Preview Lab → · Contrast checker → · Palette generator →

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