#787124#787124

#787124 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.097 H 104.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#787124
RGBrgb(120, 113, 36)
HSLhsl(55, 54%, 31%)
HSVhsv(55, 70%, 47%)
CMYKcmyk(0%, 5.8%, 70%, 52.9%)
CIE-LABlab(46.88, -7.18, 41.89)
CIE-LCHlch(46.88, 42.50, 99.73°)
OKLaboklab(53.96% -0.0236 0.0941)
OKLCHoklch(53.96% 0.097 104.1)
XYZxyz(13.9698, 15.9312, 4.0079)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787124 #242B78
analogous
#784724 #787124 #557824
triadic
#787124 #247871 #712478
tetradic
#787124 #247847 #242B78 #782455
square
#787124 #247847 #242B78 #782455
split-complementary
#787124 #245578 #472478
monochromatic
#1A1808 #494516 #787124 #A79D32 #CABF4D

Accessibility & contrast

On white

5.02
#787124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#787124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787124
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787124#FFFFFF#000000##FFFFFF
##7871241.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D19
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#816961
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #787124;
/* rgb */ color: rgb(120, 113, 36);
/* oklch */ color: oklch(54.0% 0.097 104.1);
Tailwind
colors: {
  custom: {
    50: '#a29963',
    500: '#787124',
    950: '#000000',
  },
}
SCSS
$custom: #787124;
$custom-light: #a29963;
$custom-dark: #000000;
JSON
{
  "hex": "#787124",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 55,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.097,
    "h": 104.1
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#787124
secondary
#4D55AB
accent
#57DD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D05
muted
#7F7E7A

Preview Lab

Preview with #787124

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

Preview Lab → · Contrast checker → · Palette generator →

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