#787247#787247

#787247 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.062 H 101.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#787247
RGBrgb(120, 114, 71)
HSLhsl(53, 26%, 37%)
HSVhsv(53, 41%, 47%)
CMYKcmyk(0%, 5%, 40.8%, 52.9%)
CIE-LABlab(47.60, -4.54, 24.66)
CIE-LCHlch(47.60, 25.08, 100.44°)
OKLaboklab(54.67% -0.0121 0.0604)
OKLCHoklch(54.67% 0.062 101.3)
XYZxyz(14.9006, 16.4830, 8.3566)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787247 #474D78
analogous
#785A47 #787247 #657847
triadic
#787247 #477872 #724778
tetradic
#787247 #47785A #474D78 #784765
square
#787247 #47785A #474D78 #784765
split-complementary
#787247 #476578 #5A4778
monochromatic
#2B291A #524D30 #787247 #9E975E #B6B083

Accessibility & contrast

On white

4.89
#787247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#787247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787247
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787247#FFFFFF#000000##FFFFFF
##7872471.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#7F6C67
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787247;
/* rgb */ color: rgb(120, 114, 71);
/* oklch */ color: oklch(54.7% 0.062 101.3);
Tailwind
colors: {
  custom: {
    50: '#a09a7b',
    500: '#787247',
    950: '#000000',
  },
}
SCSS
$custom: #787247;
$custom-light: #a09a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#787247",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 71
  },
  "hsl": {
    "h": 52.653,
    "s": 25.654,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54671,
    "c": 0.0616,
    "h": 101.3
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#787247
secondary
#797EA2
accent
#71C266
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787247

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

Preview Lab → · Contrast checker → · Palette generator →

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