#787C47#787C47

#787C47 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.074 H 112.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#787C47
RGBrgb(120, 124, 71)
HSLhsl(65, 27%, 38%)
HSVhsv(65, 43%, 49%)
CMYKcmyk(3.2%, 0%, 42.7%, 51.4%)
CIE-LABlab(50.53, -10.16, 28.38)
CIE-LCHlch(50.53, 30.15, 109.69°)
OKLaboklab(57% -0.0282 0.0689)
OKLCHoklch(57% 0.074 112.3)
XYZxyz(16.0909, 18.8636, 8.7534)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C47 #4B477C
analogous
#7C6547 #787C47 #5D7C47
triadic
#787C47 #47787C #7C4778
tetradic
#787C47 #477C65 #4B477C #7C475D
square
#787C47 #477C65 #4B477C #7C475D
split-complementary
#787C47 #475D7C #65477C
monochromatic
#2D2E1A #525531 #787C47 #9DA35E #B5B985

Accessibility & contrast

On white

4.40
#787C47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#787C47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C47
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C47#FFFFFF#000000##000000
##787C471.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#837843
Deuteranopia (green-blind)
#837949
Tritanopia (blue-blind)
#7E766F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787c47;
/* rgb */ color: rgb(120, 124, 71);
/* oklch */ color: oklch(57.0% 0.074 112.3);
Tailwind
colors: {
  custom: {
    50: '#a0a17b',
    500: '#787c47',
    950: '#000000',
  },
}
SCSS
$custom: #787c47;
$custom-light: #a0a17b;
$custom-dark: #000000;
JSON
{
  "hex": "#787c47",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 71
  },
  "hsl": {
    "h": 64.528,
    "s": 27.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56995,
    "c": 0.0744,
    "h": 112.3
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#787C47
secondary
#7D7AA5
accent
#64C46B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0F09
muted
#7E7E7B

Preview Lab

Preview with #787C47

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

Preview Lab → · Contrast checker → · Palette generator →

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