#787337#787337

#787337 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.081 H 104.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#787337
RGBrgb(120, 115, 55)
HSLhsl(55, 37%, 34%)
HSVhsv(55, 54%, 47%)
CMYKcmyk(0%, 4.2%, 54.2%, 52.9%)
CIE-LABlab(47.66, -6.84, 33.50)
CIE-LCHlch(47.66, 34.19, 101.54°)
OKLaboklab(54.65% -0.0203 0.0789)
OKLCHoklch(54.65% 0.081 104.5)
XYZxyz(14.5665, 16.5308, 6.0371)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787337 #373C78
analogous
#785337 #787337 #5D7837
triadic
#787337 #377873 #733778
tetradic
#787337 #377853 #373C78 #78375D
square
#787337 #377853 #373C78 #78375D
split-complementary
#787337 #375D78 #533778
monochromatic
#242311 #4E4B24 #787337 #A29B4A #BCB66D

Accessibility & contrast

On white

4.88
#787337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#787337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787337
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787337#FFFFFF#000000##FFFFFF
##7873371.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F31
Deuteranopia (green-blind)
#7E723A
Tritanopia (blue-blind)
#806C65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787337;
/* rgb */ color: rgb(120, 115, 55);
/* oklch */ color: oklch(54.6% 0.081 104.5);
Tailwind
colors: {
  custom: {
    50: '#a19b70',
    500: '#787337',
    950: '#000000',
  },
}
SCSS
$custom: #787337;
$custom-light: #a19b70;
$custom-dark: #000000;
JSON
{
  "hex": "#787337",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 55
  },
  "hsl": {
    "h": 55.385,
    "s": 37.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.08147,
    "h": 104.5
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#787337
secondary
#666BA5
accent
#63CD5B
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #787337

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

Preview Lab → · Contrast checker → · Palette generator →

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