#787048#787048

#787048 is a mid, muted yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.058 H 98.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#787048
RGBrgb(120, 112, 72)
HSLhsl(50, 25%, 38%)
HSVhsv(50, 40%, 47%)
CMYKcmyk(0%, 6.7%, 40%, 52.9%)
CIE-LABlab(47.04, -3.27, 23.37)
CIE-LCHlch(47.04, 23.60, 97.98°)
OKLaboklab(54.23% -0.0083 0.0575)
OKLCHoklch(54.23% 0.058 98.3)
XYZxyz(14.7099, 16.0497, 8.4527)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787048 #485078
analogous
#785848 #787048 #687848
triadic
#787048 #487870 #704878
tetradic
#787048 #487858 #485078 #784868
square
#787048 #487858 #485078 #784868
split-complementary
#787048 #486878 #584878
monochromatic
#2B291A #524C31 #787048 #9E945F #B6AD85

Accessibility & contrast

On white

4.99
#787048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#787048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787048
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787048#FFFFFF#000000##FFFFFF
##7870481.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E45
Deuteranopia (green-blind)
#7A7149
Tritanopia (blue-blind)
#7F6B66
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #787048;
/* rgb */ color: rgb(120, 112, 72);
/* oklch */ color: oklch(54.2% 0.058 98.3);
Tailwind
colors: {
  custom: {
    50: '#a0997b',
    500: '#787048',
    950: '#000000',
  },
}
SCSS
$custom: #787048;
$custom-light: #a0997b;
$custom-dark: #000000;
JSON
{
  "hex": "#787048",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 72
  },
  "hsl": {
    "h": 50,
    "s": 25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.05807,
    "h": 98.3
  },
  "luminance": 0.16049
}

Semantic roles & 50–950 ramp

primary
#787048
secondary
#7A81A2
accent
#76C166
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B

Preview Lab

Preview with #787048

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

Preview Lab → · Contrast checker → · Palette generator →

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