#787D32#787D32

#787D32 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.098 H 112.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#787D32
RGBrgb(120, 125, 50)
HSLhsl(64, 43%, 34%)
HSVhsv(64, 60%, 49%)
CMYKcmyk(4%, 0%, 60%, 51%)
CIE-LABlab(50.56, -12.81, 39.34)
CIE-LCHlch(50.56, 41.37, 108.04°)
OKLaboklab(56.94% -0.0379 0.0909)
OKLCHoklch(56.94% 0.098 112.7)
XYZxyz(15.6554, 18.8909, 5.8386)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D32 #37327D
analogous
#7D5D32 #787D32 #537D32
triadic
#787D32 #32787D #7D3278
tetradic
#787D32 #327D5D #37327D #7D3253
square
#787D32 #327D5D #37327D #7D3253
split-complementary
#787D32 #32537D #5D327D
monochromatic
#24260F #4E5121 #787D32 #A2A943 #BCC267

Accessibility & contrast

On white

4.39
#787D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#787D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D32
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D32#FFFFFF#000000##000000
##787D321.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86772A
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#80766D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787d32;
/* rgb */ color: rgb(120, 125, 50);
/* oklch */ color: oklch(56.9% 0.098 112.7);
Tailwind
colors: {
  custom: {
    50: '#a1a26d',
    500: '#787d32',
    950: '#000000',
  },
}
SCSS
$custom: #787d32;
$custom-light: #a1a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#787d32",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 64,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.09845,
    "h": 112.7
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#787D32
secondary
#6661AA
accent
#55D35E
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #787D32

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

Preview Lab → · Contrast checker → · Palette generator →

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