#787C32#787C32

#787C32 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.097 H 112.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#787C32
RGBrgb(120, 124, 50)
HSLhsl(63, 43%, 34%)
HSVhsv(63, 60%, 49%)
CMYKcmyk(3.2%, 0%, 59.7%, 51.4%)
CIE-LABlab(50.26, -12.27, 39.01)
CIE-LCHlch(50.26, 40.89, 107.46°)
OKLaboklab(56.7% -0.0364 0.0901)
OKLCHoklch(56.7% 0.097 112)
XYZxyz(15.5295, 18.6390, 5.7966)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C32 #36327C
analogous
#7C5B32 #787C32 #537C32
triadic
#787C32 #32787C #7C3278
tetradic
#787C32 #327C5B #36327C #7C3253
square
#787C32 #327C5B #36327C #7C3253
split-complementary
#787C32 #32537C #5B327C
monochromatic
#24250F #4E5020 #787C32 #A2A844 #BDC267

Accessibility & contrast

On white

4.44
#787C32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#787C32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C32
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C32#FFFFFF#000000##000000
##787C321.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85772A
Deuteranopia (green-blind)
#857936
Tritanopia (blue-blind)
#80756C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787c32;
/* rgb */ color: rgb(120, 124, 50);
/* oklch */ color: oklch(56.7% 0.097 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a16d',
    500: '#787c32',
    950: '#000000',
  },
}
SCSS
$custom: #787c32;
$custom-light: #a1a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#787c32",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 50
  },
  "hsl": {
    "h": 63.243,
    "s": 42.529,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.09721,
    "h": 112
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#787C32
secondary
#6461A9
accent
#55D25C
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #787C32

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

Preview Lab → · Contrast checker → · Palette generator →

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