#787E41#787E41

#787E41 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.084 H 113.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#787E41
RGBrgb(120, 126, 65)
HSLhsl(66, 32%, 37%)
HSVhsv(66, 48%, 49%)
CMYKcmyk(4.8%, 0%, 48.4%, 50.6%)
CIE-LABlab(51.03, -11.93, 32.25)
CIE-LCHlch(51.03, 34.39, 110.31°)
OKLaboklab(57.37% -0.0338 0.0771)
OKLCHoklch(57.37% 0.084 113.7)
XYZxyz(16.1609, 19.2967, 7.8733)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E41 #47417E
analogous
#7E6641 #787E41 #597E41
triadic
#787E41 #41787E #7E4178
tetradic
#787E41 #417E66 #47417E #7E4159
square
#787E41 #417E66 #47417E #7E4159
split-complementary
#787E41 #41597E #66417E
monochromatic
#2B2D17 #52562C #787E41 #9EA656 #B6BC7D

Accessibility & contrast

On white

4.32
#787E41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#787E41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E41
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E41#FFFFFF#000000##000000
##787E411.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793C
Deuteranopia (green-blind)
#867A44
Tritanopia (blue-blind)
#7E7870
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787e41;
/* rgb */ color: rgb(120, 126, 65);
/* oklch */ color: oklch(57.4% 0.084 113.7);
Tailwind
colors: {
  custom: {
    50: '#a0a377',
    500: '#787e41',
    950: '#000000',
  },
}
SCSS
$custom: #787e41;
$custom-light: #a0a377;
$custom-dark: #000000;
JSON
{
  "hex": "#787e41",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 65
  },
  "hsl": {
    "h": 65.902,
    "s": 31.937,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57371,
    "c": 0.08416,
    "h": 113.7
  },
  "luminance": 0.19296
}

Semantic roles & 50–950 ramp

primary
#787E41
secondary
#7974A7
accent
#60C86A
background
#FAFAF7
surface
#F3F3ED
border
#CDCDC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #787E41

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

Preview Lab → · Contrast checker → · Palette generator →

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