#787136#787136

#787136 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.080 H 102.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#787136
RGBrgb(120, 113, 54)
HSLhsl(54, 38%, 34%)
HSVhsv(54, 55%, 47%)
CMYKcmyk(0%, 5.8%, 55%, 52.9%)
CIE-LABlab(47.07, -5.80, 33.32)
CIE-LCHlch(47.07, 33.82, 99.88°)
OKLaboklab(54.17% -0.0175 0.0784)
OKLCHoklch(54.17% 0.08 102.6)
XYZxyz(14.3171, 16.0702, 5.8370)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787136 #363D78
analogous
#785036 #787136 #5E7836
triadic
#787136 #367871 #713678
tetradic
#787136 #367850 #363D78 #78365E
square
#787136 #367850 #363D78 #78365E
split-complementary
#787136 #365E78 #503678
monochromatic
#242210 #4E4923 #787136 #A29949 #BDB46C

Accessibility & contrast

On white

4.98
#787136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#787136 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787136
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787136#FFFFFF#000000##FFFFFF
##7871361.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E31
Deuteranopia (green-blind)
#7C7139
Tritanopia (blue-blind)
#806A64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #787136;
/* rgb */ color: rgb(120, 113, 54);
/* oklch */ color: oklch(54.2% 0.080 102.6);
Tailwind
colors: {
  custom: {
    50: '#a1996f',
    500: '#787136',
    950: '#000000',
  },
}
SCSS
$custom: #787136;
$custom-light: #a1996f;
$custom-dark: #000000;
JSON
{
  "hex": "#787136",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 54
  },
  "hsl": {
    "h": 53.636,
    "s": 37.931,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54167,
    "c": 0.08033,
    "h": 102.6
  },
  "luminance": 0.1607
}

Semantic roles & 50–950 ramp

primary
#787136
secondary
#646BA5
accent
#66CE5A
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #787136

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

Preview Lab → · Contrast checker → · Palette generator →

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