#787137#787137

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

Color values

HEX#787137
RGBrgb(120, 113, 55)
HSLhsl(54, 37%, 34%)
HSVhsv(54, 54%, 47%)
CMYKcmyk(0%, 5.8%, 54.2%, 52.9%)
CIE-LABlab(47.08, -5.71, 32.81)
CIE-LCHlch(47.08, 33.30, 99.87°)
OKLaboklab(54.18% -0.0171 0.0774)
OKLCHoklch(54.18% 0.079 102.5)
XYZxyz(14.3409, 16.0796, 5.9620)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787137 #373E78
analogous
#785137 #787137 #5F7837
triadic
#787137 #377871 #713778
tetradic
#787137 #377851 #373E78 #78375F
square
#787137 #377851 #373E78 #78375F
split-complementary
#787137 #375F78 #513778
monochromatic
#242211 #4E4924 #787137 #A2994A #BCB46D

Accessibility & contrast

On white

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

On black

4.22
#787137 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##787137#FFFFFF#000000##FFFFFF
##7871371.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787137;
/* rgb */ color: rgb(120, 113, 55);
/* oklch */ color: oklch(54.2% 0.079 102.5);
Tailwind
colors: {
  custom: {
    50: '#a1996f',
    500: '#787137',
    950: '#000000',
  },
}
SCSS
$custom: #787137;
$custom-light: #a1996f;
$custom-dark: #000000;
JSON
{
  "hex": "#787137",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 55
  },
  "hsl": {
    "h": 53.538,
    "s": 37.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.07926,
    "h": 102.5
  },
  "luminance": 0.16079
}

Semantic roles & 50–950 ramp

primary
#787137
secondary
#666DA5
accent
#67CD5B
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #787137

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

Preview Lab → · Contrast checker → · Palette generator →

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