#787B32#787B32

#787B32 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.096 H 111.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#787B32
RGBrgb(120, 123, 50)
HSLhsl(62, 42%, 34%)
HSVhsv(62, 59%, 48%)
CMYKcmyk(2.4%, 0%, 59.3%, 51.8%)
CIE-LABlab(49.97, -11.72, 38.68)
CIE-LCHlch(49.97, 40.41, 106.86°)
OKLaboklab(56.46% -0.0348 0.0894)
OKLCHoklch(56.46% 0.096 111.3)
XYZxyz(15.4048, 18.3896, 5.7551)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B32 #35327B
analogous
#7B5A32 #787B32 #547B32
triadic
#787B32 #32787B #7B3278
tetradic
#787B32 #327B5A #35327B #7B3254
square
#787B32 #327B5A #35327B #7B3254
split-complementary
#787B32 #32547B #5A327B
monochromatic
#23240F #4E4F20 #787B32 #A2A744 #BDC166

Accessibility & contrast

On white

4.49
#787B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#787B32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787B32
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787B32#FFFFFF#000000##000000
##787B321.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84762A
Deuteranopia (green-blind)
#847836
Tritanopia (blue-blind)
#80746B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #787b32;
/* rgb */ color: rgb(120, 123, 50);
/* oklch */ color: oklch(56.5% 0.096 111.3);
Tailwind
colors: {
  custom: {
    50: '#a1a16d',
    500: '#787b32',
    950: '#000000',
  },
}
SCSS
$custom: #787b32;
$custom-light: #a1a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#787b32",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 50
  },
  "hsl": {
    "h": 62.466,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.09598,
    "h": 111.3
  },
  "luminance": 0.18389
}

Semantic roles & 50–950 ramp

primary
#787B32
secondary
#6360A9
accent
#56D25B
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #787B32

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

Preview Lab → · Contrast checker → · Palette generator →

#787B32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva