#787A43#787A43

#787A43 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.076 H 110.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#787A43
RGBrgb(120, 122, 67)
HSLhsl(62, 29%, 37%)
HSVhsv(62, 45%, 48%)
CMYKcmyk(1.6%, 0%, 45.1%, 52.2%)
CIE-LABlab(49.88, -9.51, 29.76)
CIE-LCHlch(49.88, 31.24, 107.73°)
OKLaboklab(56.46% -0.0267 0.0717)
OKLCHoklch(56.46% 0.077 110.4)
XYZxyz(15.7186, 18.3177, 8.0167)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A43 #45437A
analogous
#7A6143 #787A43 #5D7A43
triadic
#787A43 #43787A #7A4378
tetradic
#787A43 #437A61 #45437A #7A435D
square
#787A43 #437A61 #45437A #7A435D
split-complementary
#787A43 #435D7A #61437A
monochromatic
#2A2B18 #51522D #787A43 #9FA259 #B6B97F

Accessibility & contrast

On white

4.50
#787A43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#787A43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A43
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A43#FFFFFF#000000##000000
##787A431.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82763F
Deuteranopia (green-blind)
#827846
Tritanopia (blue-blind)
#7F746D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #787a43;
/* rgb */ color: rgb(120, 122, 67);
/* oklch */ color: oklch(56.5% 0.076 110.4);
Tailwind
colors: {
  custom: {
    50: '#a0a078',
    500: '#787a43',
    950: '#000000',
  },
}
SCSS
$custom: #787a43;
$custom-light: #a0a078;
$custom-dark: #000000;
JSON
{
  "hex": "#787a43",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 67
  },
  "hsl": {
    "h": 62.182,
    "s": 29.101,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.0765,
    "h": 110.4
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#787A43
secondary
#7775A4
accent
#62C566
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787A43

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

Preview Lab → · Contrast checker → · Palette generator →

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