#787147#787147

#787147 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.060 H 99.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#787147
RGBrgb(120, 113, 71)
HSLhsl(51, 26%, 37%)
HSVhsv(51, 41%, 47%)
CMYKcmyk(0%, 5.8%, 40.8%, 52.9%)
CIE-LABlab(47.31, -3.97, 24.29)
CIE-LCHlch(47.31, 24.61, 99.29°)
OKLaboklab(54.44% -0.0104 0.0595)
OKLCHoklch(54.44% 0.06 99.9)
XYZxyz(14.7885, 16.2587, 8.3192)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787147 #474E78
analogous
#785947 #787147 #667847
triadic
#787147 #477871 #714778
tetradic
#787147 #477859 #474E78 #784766
square
#787147 #477859 #474E78 #784766
split-complementary
#787147 #476678 #594778
monochromatic
#2B291A #524D30 #787147 #9E955E #B6AF83

Accessibility & contrast

On white

4.94
#787147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#787147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787147
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787147#FFFFFF#000000##FFFFFF
##7871471.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#7B7149
Tritanopia (blue-blind)
#7F6B66
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #787147;
/* rgb */ color: rgb(120, 113, 71);
/* oklch */ color: oklch(54.4% 0.060 99.9);
Tailwind
colors: {
  custom: {
    50: '#a0997b',
    500: '#787147',
    950: '#000000',
  },
}
SCSS
$custom: #787147;
$custom-light: #a0997b;
$custom-dark: #000000;
JSON
{
  "hex": "#787147",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 71
  },
  "hsl": {
    "h": 51.429,
    "s": 25.654,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.06045,
    "h": 99.9
  },
  "luminance": 0.16258
}

Semantic roles & 50–950 ramp

primary
#787147
secondary
#797FA2
accent
#73C266
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787147

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

Preview Lab → · Contrast checker → · Palette generator →

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