#787D37#787D37

#787D37 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.094 H 112.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#787D37
RGBrgb(120, 125, 55)
HSLhsl(64, 39%, 35%)
HSVhsv(64, 56%, 49%)
CMYKcmyk(4%, 0%, 56%, 51%)
CIE-LABlab(50.61, -12.38, 36.93)
CIE-LCHlch(50.61, 38.95, 108.53°)
OKLaboklab(57% -0.0361 0.0863)
OKLCHoklch(57% 0.094 112.7)
XYZxyz(15.7693, 18.9364, 6.4381)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D37 #3C377D
analogous
#7D5F37 #787D37 #557D37
triadic
#787D37 #37787D #7D3778
tetradic
#787D37 #377D5F #3C377D #7D3755
square
#787D37 #377D5F #3C377D #7D3755
split-complementary
#787D37 #37557D #5F377D
monochromatic
#262812 #4F5224 #787D37 #A1A74A #BAC06F

Accessibility & contrast

On white

4.39
#787D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#787D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D37
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D37#FFFFFF#000000##000000
##787D371.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#86793B
Tritanopia (blue-blind)
#7F766D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787d37;
/* rgb */ color: rgb(120, 125, 55);
/* oklch */ color: oklch(57.0% 0.094 112.7);
Tailwind
colors: {
  custom: {
    50: '#a1a270',
    500: '#787d37',
    950: '#000000',
  },
}
SCSS
$custom: #787d37;
$custom-light: #a1a270;
$custom-dark: #000000;
JSON
{
  "hex": "#787d37",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 64.286,
    "s": 38.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56996,
    "c": 0.09358,
    "h": 112.7
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#787D37
secondary
#6C67A8
accent
#59CF61
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0F08
muted
#7F7E7B

Preview Lab

Preview with #787D37

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

Preview Lab → · Contrast checker → · Palette generator →

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