#787724#787724

#787724 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.103 H 108.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#787724
RGBrgb(120, 119, 36)
HSLhsl(59, 54%, 31%)
HSVhsv(59, 70%, 47%)
CMYKcmyk(0%, 0.8%, 70%, 52.9%)
CIE-LABlab(48.65, -10.53, 43.69)
CIE-LCHlch(48.65, 44.94, 103.55°)
OKLaboklab(55.37% -0.0331 0.0979)
OKLCHoklch(55.37% 0.103 108.7)
XYZxyz(14.6615, 17.3145, 4.2384)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787724 #242578
analogous
#784D24 #787724 #4F7824
triadic
#787724 #247877 #772478
tetradic
#787724 #24784D #242578 #78244F
square
#787724 #24784D #242578 #78244F
split-complementary
#787724 #244F78 #4D2478
monochromatic
#1A1A08 #494816 #787724 #A7A632 #CAC84D

Accessibility & contrast

On white

4.71
#787724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#787724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787724
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787724#FFFFFF#000000##FFFFFF
##7877241.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817218
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#816F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #787724;
/* rgb */ color: rgb(120, 119, 36);
/* oklch */ color: oklch(55.4% 0.103 108.7);
Tailwind
colors: {
  custom: {
    50: '#a29e64',
    500: '#787724',
    950: '#000000',
  },
}
SCSS
$custom: #787724;
$custom-light: #a29e64;
$custom-dark: #000000;
JSON
{
  "hex": "#787724",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 59.286,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55374,
    "c": 0.10332,
    "h": 108.7
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#787724
secondary
#4D4EAB
accent
#4CDD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #787724

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

Preview Lab → · Contrast checker → · Palette generator →

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