#787346#787346

#787346 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.064 H 102.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#787346
RGBrgb(120, 115, 70)
HSLhsl(54, 26%, 37%)
HSVhsv(54, 42%, 47%)
CMYKcmyk(0%, 4.2%, 41.7%, 52.9%)
CIE-LABlab(47.88, -5.23, 25.58)
CIE-LCHlch(47.88, 26.11, 101.56°)
OKLaboklab(54.88% -0.0142 0.0624)
OKLCHoklch(54.88% 0.064 102.8)
XYZxyz(14.9822, 16.6971, 8.2268)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787346 #464B78
analogous
#785A46 #787346 #647846
triadic
#787346 #467873 #734678
tetradic
#787346 #46785A #464B78 #784664
square
#787346 #46785A #464B78 #784664
split-complementary
#787346 #466478 #5A4678
monochromatic
#2B2919 #514E2F #787346 #9F985D #B6B182

Accessibility & contrast

On white

4.84
#787346 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#787346 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787346
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787346#FFFFFF#000000##FFFFFF
##7873461.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7043
Deuteranopia (green-blind)
#7C7348
Tritanopia (blue-blind)
#7F6D68
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787346;
/* rgb */ color: rgb(120, 115, 70);
/* oklch */ color: oklch(54.9% 0.064 102.8);
Tailwind
colors: {
  custom: {
    50: '#a09b7a',
    500: '#787346',
    950: '#000000',
  },
}
SCSS
$custom: #787346;
$custom-light: #a09b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#787346",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 70
  },
  "hsl": {
    "h": 54,
    "s": 26.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.06403,
    "h": 102.8
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#787346
secondary
#787CA2
accent
#6EC365
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787346

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

Preview Lab → · Contrast checker → · Palette generator →

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