#787745#787745

#787745 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.070 H 107.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#787745
RGBrgb(120, 119, 69)
HSLhsl(59, 27%, 37%)
HSVhsv(59, 43%, 47%)
CMYKcmyk(0%, 0.8%, 42.5%, 52.9%)
CIE-LABlab(49.03, -7.61, 27.60)
CIE-LCHlch(49.03, 28.63, 105.42°)
OKLaboklab(55.79% -0.0211 0.067)
OKLCHoklch(55.79% 0.07 107.5)
XYZxyz(15.4170, 17.6167, 8.2173)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787745 #454678
analogous
#785E45 #787745 #607845
triadic
#787745 #457877 #774578
tetradic
#787745 #45785E #454678 #784560
square
#787745 #45785E #454678 #784560
split-complementary
#787745 #456078 #5E4578
monochromatic
#2A2A18 #51502F #787745 #9F9E5B #B6B581

Accessibility & contrast

On white

4.64
#787745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#787745 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787745
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787745#FFFFFF#000000##FFFFFF
##7877451.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7341
Deuteranopia (green-blind)
#807547
Tritanopia (blue-blind)
#7F716B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #787745;
/* rgb */ color: rgb(120, 119, 69);
/* oklch */ color: oklch(55.8% 0.070 107.5);
Tailwind
colors: {
  custom: {
    50: '#a09e79',
    500: '#787745',
    950: '#000000',
  },
}
SCSS
$custom: #787745;
$custom-light: #a09e79;
$custom-dark: #000000;
JSON
{
  "hex": "#787745",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 69
  },
  "hsl": {
    "h": 58.824,
    "s": 26.984,
    "l": 37.059
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.0702,
    "h": 107.5
  },
  "luminance": 0.17616
}

Semantic roles & 50–950 ramp

primary
#787745
secondary
#7778A2
accent
#66C364
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787745

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

Preview Lab → · Contrast checker → · Palette generator →

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