#787334#787334

#787334 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.085 H 104.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#787334
RGBrgb(120, 115, 52)
HSLhsl(56, 40%, 34%)
HSVhsv(56, 57%, 47%)
CMYKcmyk(0%, 4.2%, 56.7%, 52.9%)
CIE-LABlab(47.63, -7.11, 35.02)
CIE-LCHlch(47.63, 35.73, 101.48°)
OKLaboklab(54.61% -0.0215 0.0818)
OKLCHoklch(54.61% 0.085 104.7)
XYZxyz(14.4967, 16.5029, 5.6699)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787334 #343978
analogous
#785134 #787334 #5B7834
triadic
#787334 #347873 #733478
tetradic
#787334 #347851 #343978 #78345B
square
#787334 #347851 #343978 #78345B
split-complementary
#787334 #345B78 #513478
monochromatic
#23210F #4D4A21 #787334 #A39C47 #BEB869

Accessibility & contrast

On white

4.88
#787334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #787334
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787334#FFFFFF#000000##FFFFFF
##7873341.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2E
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#806C65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787334;
/* rgb */ color: rgb(120, 115, 52);
/* oklch */ color: oklch(54.6% 0.085 104.7);
Tailwind
colors: {
  custom: {
    50: '#a19b6e',
    500: '#787334',
    950: '#000000',
  },
}
SCSS
$custom: #787334;
$custom-light: #a19b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#787334",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 52
  },
  "hsl": {
    "h": 55.588,
    "s": 39.535,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54605,
    "c": 0.08461,
    "h": 104.7
  },
  "luminance": 0.16502
}

Semantic roles & 50–950 ramp

primary
#787334
secondary
#6267A6
accent
#61CF58
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #787334

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

Preview Lab → · Contrast checker → · Palette generator →

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