#787B37#787B37

#787B37 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.091 H 111.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#787B37
RGBrgb(120, 123, 55)
HSLhsl(63, 38%, 35%)
HSVhsv(63, 55%, 48%)
CMYKcmyk(2.4%, 0%, 55.3%, 51.8%)
CIE-LABlab(50.02, -11.29, 36.25)
CIE-LCHlch(50.02, 37.97, 107.30°)
OKLaboklab(56.52% -0.033 0.0848)
OKLCHoklch(56.52% 0.091 111.3)
XYZxyz(15.5186, 18.4351, 6.3545)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B37 #3A377B
analogous
#7B5C37 #787B37 #567B37
triadic
#787B37 #37787B #7B3778
tetradic
#787B37 #377B5C #3A377B #7B3756
square
#787B37 #377B5C #3A377B #7B3756
split-complementary
#787B37 #37567B #5C377B
monochromatic
#252611 #4F5124 #787B37 #A1A54A #BBBE6E

Accessibility & contrast

On white

4.48
#787B37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#787B37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787B37
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787B37#FFFFFF#000000##000000
##787B371.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847630
Deuteranopia (green-blind)
#84783B
Tritanopia (blue-blind)
#7F746C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #787b37;
/* rgb */ color: rgb(120, 123, 55);
/* oklch */ color: oklch(56.5% 0.091 111.3);
Tailwind
colors: {
  custom: {
    50: '#a1a170',
    500: '#787b37',
    950: '#000000',
  },
}
SCSS
$custom: #787b37;
$custom-light: #a1a170;
$custom-dark: #000000;
JSON
{
  "hex": "#787b37",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 55
  },
  "hsl": {
    "h": 62.647,
    "s": 38.202,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.09104,
    "h": 111.3
  },
  "luminance": 0.18435
}

Semantic roles & 50–950 ramp

primary
#787B37
secondary
#6A67A7
accent
#5ACE5F
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #787B37

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

Preview Lab → · Contrast checker → · Palette generator →

#787B37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva