#787125#787125

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

Color values

HEX#787125
RGBrgb(120, 113, 37)
HSLhsl(55, 53%, 31%)
HSVhsv(55, 69%, 47%)
CMYKcmyk(0%, 5.8%, 69.2%, 52.9%)
CIE-LABlab(46.89, -7.12, 41.46)
CIE-LCHlch(46.89, 42.06, 99.75°)
OKLaboklab(53.97% -0.0233 0.0933)
OKLCHoklch(53.97% 0.096 104)
XYZxyz(13.9853, 15.9374, 4.0895)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787125 #252C78
analogous
#784725 #787125 #557825
triadic
#787125 #257871 #712578
tetradic
#787125 #257847 #252C78 #782555
square
#787125 #257847 #252C78 #782555
split-complementary
#787125 #255578 #472578
monochromatic
#1A1908 #494517 #787125 #A79D33 #C9BE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787125#FFFFFF#000000##FFFFFF
##7871251.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)
#7B6D1B
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#816961
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #787125;
/* rgb */ color: rgb(120, 113, 37);
/* oklch */ color: oklch(54.0% 0.096 104.0);
Tailwind
colors: {
  custom: {
    50: '#a29964',
    500: '#787125',
    950: '#000000',
  },
}
SCSS
$custom: #787125;
$custom-light: #a29964;
$custom-dark: #000000;
JSON
{
  "hex": "#787125",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 37
  },
  "hsl": {
    "h": 54.94,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.09621,
    "h": 104
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#787125
secondary
#4E56AA
accent
#58DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #787125

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

Preview Lab → · Contrast checker → · Palette generator →

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