#787D41#787D41

#787D41 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.083 H 112.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#787D41
RGBrgb(120, 125, 65)
HSLhsl(65, 32%, 37%)
HSVhsv(65, 48%, 49%)
CMYKcmyk(4%, 0%, 48%, 51%)
CIE-LABlab(50.74, -11.39, 31.89)
CIE-LCHlch(50.74, 33.86, 109.65°)
OKLaboklab(57.13% -0.0322 0.0763)
OKLCHoklch(57.13% 0.083 112.9)
XYZxyz(16.0337, 19.0422, 7.8309)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D41 #46417D
analogous
#7D6441 #787D41 #5A7D41
triadic
#787D41 #41787D #7D4178
tetradic
#787D41 #417D64 #46417D #7D415A
square
#787D41 #417D64 #46417D #7D415A
split-complementary
#787D41 #415A7D #64417D
monochromatic
#2B2C17 #51552C #787D41 #9FA556 #B6BB7D

Accessibility & contrast

On white

4.37
#787D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#787D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D41
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D41#FFFFFF#000000##000000
##787D411.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783C
Deuteranopia (green-blind)
#857A44
Tritanopia (blue-blind)
#7F776F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787d41;
/* rgb */ color: rgb(120, 125, 65);
/* oklch */ color: oklch(57.1% 0.083 112.9);
Tailwind
colors: {
  custom: {
    50: '#a0a277',
    500: '#787d41',
    950: '#000000',
  },
}
SCSS
$custom: #787d41;
$custom-light: #a0a277;
$custom-dark: #000000;
JSON
{
  "hex": "#787d41",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 65,
    "s": 31.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57134,
    "c": 0.08282,
    "h": 112.9
  },
  "luminance": 0.19042
}

Semantic roles & 50–950 ramp

primary
#787D41
secondary
#7874A6
accent
#60C869
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0F09
muted
#7F7E7B

Preview Lab

Preview with #787D41

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

Preview Lab → · Contrast checker → · Palette generator →

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