#787E49#787E49

#787E49 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.075 H 114.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#787E49
RGBrgb(120, 126, 73)
HSLhsl(67, 27%, 39%)
HSVhsv(67, 42%, 49%)
CMYKcmyk(4.8%, 0%, 42.1%, 50.6%)
CIE-LABlab(51.15, -11.02, 28.07)
CIE-LCHlch(51.15, 30.15, 111.43°)
OKLaboklab(57.5% -0.0305 0.0683)
OKLCHoklch(57.5% 0.075 114.1)
XYZxyz(16.4093, 19.3960, 9.1814)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E49 #4F497E
analogous
#7E6A49 #787E49 #5E7E49
triadic
#787E49 #49787E #7E4978
tetradic
#787E49 #497E6A #4F497E #7E495E
square
#787E49 #497E6A #4F497E #7E495E
split-complementary
#787E49 #495E7E #6A497E
monochromatic
#2E311C #535733 #787E49 #9CA361 #B4BA88

Accessibility & contrast

On white

4.30
#787E49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#787E49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E49
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E49#FFFFFF#000000##000000
##787E491.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857945
Deuteranopia (green-blind)
#857A4B
Tritanopia (blue-blind)
#7E7871
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787e49;
/* rgb */ color: rgb(120, 126, 73);
/* oklch */ color: oklch(57.5% 0.075 114.1);
Tailwind
colors: {
  custom: {
    50: '#a0a37c',
    500: '#787e49',
    950: '#000000',
  },
}
SCSS
$custom: #787e49;
$custom-light: #a0a37c;
$custom-dark: #000000;
JSON
{
  "hex": "#787e49",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 73
  },
  "hsl": {
    "h": 66.792,
    "s": 26.633,
    "l": 39.02
  },
  "oklch": {
    "l": 0.575,
    "c": 0.07475,
    "h": 114.1
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#787E49
secondary
#827DA6
accent
#65C36F
background
#F9FAF7
surface
#F2F3EE
border
#CCCDC9
text
#0F0F09
muted
#7E7F7B

Preview Lab

Preview with #787E49

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

Preview Lab → · Contrast checker → · Palette generator →

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