#787A3A#787A3A

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

Color values

HEX#787A3A
RGBrgb(120, 122, 58)
HSLhsl(62, 36%, 35%)
HSVhsv(62, 52%, 48%)
CMYKcmyk(1.6%, 0%, 52.5%, 52.2%)
CIE-LABlab(49.76, -10.46, 34.40)
CIE-LCHlch(49.76, 35.96, 106.90°)
OKLaboklab(56.33% -0.0303 0.0812)
OKLCHoklch(56.33% 0.087 110.5)
XYZxyz(15.4693, 18.2180, 6.7037)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A3A #3C3A7A
analogous
#7A5C3A #787A3A #587A3A
triadic
#787A3A #3A787A #7A3A78
tetradic
#787A3A #3A7A5C #3C3A7A #7A3A58
square
#787A3A #3A7A5C #3C3A7A #7A3A58
split-complementary
#787A3A #3A587A #5C3A7A
monochromatic
#262713 #4F5126 #787A3A #A1A34E #BABC72

Accessibility & contrast

On white

4.52
#787A3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##787A3A#FFFFFF#000000##000000
##787A3A1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#827534
Deuteranopia (green-blind)
#83773D
Tritanopia (blue-blind)
#7F736B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #787a3a;
/* rgb */ color: rgb(120, 122, 58);
/* oklch */ color: oklch(56.3% 0.087 110.5);
Tailwind
colors: {
  custom: {
    50: '#a0a072',
    500: '#787a3a',
    950: '#000000',
  },
}
SCSS
$custom: #787a3a;
$custom-light: #a0a072;
$custom-dark: #000000;
JSON
{
  "hex": "#787a3a",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 58
  },
  "hsl": {
    "h": 61.875,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.08664,
    "h": 110.5
  },
  "luminance": 0.18218
}

Semantic roles & 50–950 ramp

primary
#787A3A
secondary
#6C6AA6
accent
#5CCC60
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #787A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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