#787120#787120

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

Color values

HEX#787120
RGBrgb(120, 113, 32)
HSLhsl(55, 58%, 30%)
HSVhsv(55, 73%, 47%)
CMYKcmyk(0%, 5.8%, 73.3%, 52.9%)
CIE-LABlab(46.85, -7.42, 43.56)
CIE-LCHlch(46.85, 44.19, 99.66°)
OKLaboklab(53.93% -0.0247 0.0969)
OKLCHoklch(53.93% 0.1 104.3)
XYZxyz(13.9121, 15.9082, 3.7040)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787120 #202778
analogous
#784520 #787120 #537820
triadic
#787120 #207871 #712078
tetradic
#787120 #207845 #202778 #782053
square
#787120 #207845 #202778 #782053
split-complementary
#787120 #205378 #452078
monochromatic
#181706 #484413 #787120 #A89E2D #CDC345

Accessibility & contrast

On white

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

On black

4.18
#787120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##787120#FFFFFF#000000##FFFFFF
##7871201.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787120;
/* rgb */ color: rgb(120, 113, 32);
/* oklch */ color: oklch(53.9% 0.100 104.3);
Tailwind
colors: {
  custom: {
    50: '#a29961',
    500: '#787120',
    950: '#000000',
  },
}
SCSS
$custom: #787120;
$custom-light: #a29961;
$custom-dark: #000000;
JSON
{
  "hex": "#787120",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 55.227,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.09998,
    "h": 104.3
  },
  "luminance": 0.15908
}

Semantic roles & 50–950 ramp

primary
#787120
secondary
#4850AB
accent
#53E147
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #787120

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

Preview Lab → · Contrast checker → · Palette generator →

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