#787A37#787A37

#787A37 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.090 H 110.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#787A37
RGBrgb(120, 122, 55)
HSLhsl(62, 38%, 35%)
HSVhsv(62, 55%, 48%)
CMYKcmyk(1.6%, 0%, 54.9%, 52.2%)
CIE-LABlab(49.72, -10.74, 35.91)
CIE-LCHlch(49.72, 37.48, 106.65°)
OKLaboklab(56.29% -0.0315 0.0841)
OKLCHoklch(56.29% 0.09 110.5)
XYZxyz(15.3952, 18.1883, 6.3134)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A37 #39377A
analogous
#7A5B37 #787A37 #577A37
triadic
#787A37 #37787A #7A3778
tetradic
#787A37 #377A5B #39377A #7A3757
square
#787A37 #377A5B #39377A #7A3757
split-complementary
#787A37 #37577A #5B377A
monochromatic
#252611 #4F5024 #787A37 #A1A44A #BBBE6E

Accessibility & contrast

On white

4.53
#787A37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#787A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A37
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A37#FFFFFF#000000##000000
##787A371.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#837530
Deuteranopia (green-blind)
#83773B
Tritanopia (blue-blind)
#80736B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #787a37;
/* rgb */ color: rgb(120, 122, 55);
/* oklch */ color: oklch(56.3% 0.090 110.5);
Tailwind
colors: {
  custom: {
    50: '#a1a070',
    500: '#787a37',
    950: '#000000',
  },
}
SCSS
$custom: #787a37;
$custom-light: #a1a070;
$custom-dark: #000000;
JSON
{
  "hex": "#787a37",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 55
  },
  "hsl": {
    "h": 61.791,
    "s": 37.853,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.0898,
    "h": 110.5
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#787A37
secondary
#6866A6
accent
#5ACE5D
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #787A37

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

Preview Lab → · Contrast checker → · Palette generator →

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