#787232#787232

#787232 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.3% C 0.086 H 103.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#787232
RGBrgb(120, 114, 50)
HSLhsl(55, 41%, 33%)
HSVhsv(55, 58%, 47%)
CMYKcmyk(0%, 5%, 58.3%, 52.9%)
CIE-LABlab(47.31, -6.72, 35.68)
CIE-LCHlch(47.31, 36.31, 100.67°)
OKLaboklab(54.35% -0.0206 0.083)
OKLCHoklch(54.35% 0.086 103.9)
XYZxyz(14.3392, 16.2585, 5.3999)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787232 #323878
analogous
#784F32 #787232 #5B7832
triadic
#787232 #327872 #723278
tetradic
#787232 #32784F #323878 #78325B
square
#787232 #32784F #323878 #78325B
split-complementary
#787232 #325B78 #4F3278
monochromatic
#22200E #4D4920 #787232 #A39B44 #BFB765

Accessibility & contrast

On white

4.94
#787232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#787232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787232
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787232#FFFFFF#000000##FFFFFF
##7872321.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2C
Deuteranopia (green-blind)
#7D7235
Tritanopia (blue-blind)
#806B64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #787232;
/* rgb */ color: rgb(120, 114, 50);
/* oklch */ color: oklch(54.3% 0.086 103.9);
Tailwind
colors: {
  custom: {
    50: '#a19a6c',
    500: '#787232',
    950: '#000000',
  },
}
SCSS
$custom: #787232;
$custom-light: #a19a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#787232",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 54.857,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.08554,
    "h": 103.9
  },
  "luminance": 0.16258
}

Semantic roles & 50–950 ramp

primary
#787232
secondary
#5F65A7
accent
#61D157
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #787232

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

Preview Lab → · Contrast checker → · Palette generator →

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