#787C44#787C44

#787C44 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.9% C 0.078 H 112.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#787C44
RGBrgb(120, 124, 68)
HSLhsl(64, 29%, 38%)
HSVhsv(64, 45%, 49%)
CMYKcmyk(3.2%, 0%, 45.2%, 51.4%)
CIE-LABlab(50.48, -10.50, 29.97)
CIE-LCHlch(50.48, 31.75, 109.32°)
OKLaboklab(56.95% -0.0294 0.0722)
OKLCHoklch(56.95% 0.078 112.2)
XYZxyz(15.9970, 18.8260, 8.2588)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C44 #48447C
analogous
#7C6444 #787C44 #5C7C44
triadic
#787C44 #44787C #7C4478
tetradic
#787C44 #447C64 #48447C #7C445C
square
#787C44 #447C64 #48447C #7C445C
split-complementary
#787C44 #445C7C #64447C
monochromatic
#2B2D19 #52542E #787C44 #9EA45A #B6BA81

Accessibility & contrast

On white

4.41
#787C44 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##787C44#FFFFFF#000000##000000
##787C441.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84773F
Deuteranopia (green-blind)
#847947
Tritanopia (blue-blind)
#7E766F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787c44;
/* rgb */ color: rgb(120, 124, 68);
/* oklch */ color: oklch(56.9% 0.078 112.2);
Tailwind
colors: {
  custom: {
    50: '#a0a179',
    500: '#787c44',
    950: '#000000',
  },
}
SCSS
$custom: #787c44;
$custom-light: #a0a179;
$custom-dark: #000000;
JSON
{
  "hex": "#787c44",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 68
  },
  "hsl": {
    "h": 64.286,
    "s": 29.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.07799,
    "h": 112.2
  },
  "luminance": 0.18826
}

Semantic roles & 50–950 ramp

primary
#787C44
secondary
#7A77A5
accent
#62C569
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0F09
muted
#7E7E7B

Preview Lab

Preview with #787C44

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

Preview Lab → · Contrast checker → · Palette generator →

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