#787F44#787F44

#787F44 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.082 H 114.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#787F44
RGBrgb(120, 127, 68)
HSLhsl(67, 30%, 38%)
HSVhsv(67, 46%, 50%)
CMYKcmyk(5.5%, 0%, 46.5%, 50.2%)
CIE-LABlab(51.37, -12.15, 31.06)
CIE-LCHlch(51.37, 33.35, 111.36°)
OKLaboklab(57.65% -0.0341 0.0747)
OKLCHoklch(57.65% 0.082 114.6)
XYZxyz(16.3787, 19.5894, 8.3860)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787F44 #4B447F
analogous
#7F6844 #787F44 #5A7F44
triadic
#787F44 #44787F #7F4478
tetradic
#787F44 #447F68 #4B447F #7F445A
square
#787F44 #447F68 #4B447F #7F445A
split-complementary
#787F44 #445A7F #68447F
monochromatic
#2D2F19 #52572F #787F44 #9DA65A #B5BC82

Accessibility & contrast

On white

4.27
#787F44 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#787F44 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787F44
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787F44#FFFFFF#000000##000000
##787F441.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867A3F
Deuteranopia (green-blind)
#867B47
Tritanopia (blue-blind)
#7E7971
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787f44;
/* rgb */ color: rgb(120, 127, 68);
/* oklch */ color: oklch(57.7% 0.082 114.6);
Tailwind
colors: {
  custom: {
    50: '#a0a479',
    500: '#787f44',
    950: '#000000',
  },
}
SCSS
$custom: #787f44;
$custom-light: #a0a479;
$custom-dark: #000000;
JSON
{
  "hex": "#787f44",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 68
  },
  "hsl": {
    "h": 67.119,
    "s": 30.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57653,
    "c": 0.08209,
    "h": 114.6
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#787F44
secondary
#7D78A7
accent
#61C66D
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0F0F09
muted
#7E7F7B

Preview Lab

Preview with #787F44

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

Preview Lab → · Contrast checker → · Palette generator →

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