#787253#787253

#787253 is a mid, muted yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.046 H 98.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#787253
RGBrgb(120, 114, 83)
HSLhsl(50, 18%, 40%)
HSVhsv(50, 31%, 47%)
CMYKcmyk(0%, 5%, 30.8%, 52.9%)
CIE-LABlab(47.82, -2.95, 18.06)
CIE-LCHlch(47.82, 18.30, 99.27°)
OKLaboklab(54.91% -0.0067 0.0454)
OKLCHoklch(54.91% 0.046 98.4)
XYZxyz(15.3245, 16.6526, 10.5889)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787253 #535978
analogous
#785F53 #787253 #6C7853
triadic
#787253 #537872 #725378
tetradic
#787253 #53785F #535978 #78536C
square
#787253 #53785F #535978 #78536C
split-complementary
#787253 #536C78 #5F5378
monochromatic
#302D21 #54503A #787253 #9B936E #B4AE92

Accessibility & contrast

On white

4.85
#787253 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#787253 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787253
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787253#FFFFFF#000000##FFFFFF
##7872531.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787051
Deuteranopia (green-blind)
#7A7354
Tritanopia (blue-blind)
#7E6E6A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787253;
/* rgb */ color: rgb(120, 114, 83);
/* oklch */ color: oklch(54.9% 0.046 98.4);
Tailwind
colors: {
  custom: {
    50: '#9f9a83',
    500: '#787253',
    950: '#000000',
  },
}
SCSS
$custom: #787253;
$custom-light: #9f9a83;
$custom-dark: #000000;
JSON
{
  "hex": "#787253",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 83
  },
  "hsl": {
    "h": 50.27,
    "s": 18.227,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.04587,
    "h": 98.4
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#787253
secondary
#868AA1
accent
#7ABB6D
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0A
muted
#7E7E7C

Preview Lab

Preview with #787253

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

Preview Lab → · Contrast checker → · Palette generator →

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