#787D33#787D33

#787D33 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.098 H 112.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#787D33
RGBrgb(120, 125, 51)
HSLhsl(64, 42%, 35%)
HSVhsv(64, 59%, 49%)
CMYKcmyk(4%, 0%, 59.2%, 51%)
CIE-LABlab(50.57, -12.73, 38.86)
CIE-LCHlch(50.57, 40.90, 108.14°)
OKLaboklab(56.95% -0.0376 0.09)
OKLCHoklch(56.95% 0.098 112.7)
XYZxyz(15.6772, 18.8996, 5.9535)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D33 #38337D
analogous
#7D5D33 #787D33 #537D33
triadic
#787D33 #33787D #7D3378
tetradic
#787D33 #337D5D #38337D #7D3353
square
#787D33 #337D5D #38337D #7D3353
split-complementary
#787D33 #33537D #5D337D
monochromatic
#252610 #4E5221 #787D33 #A2A845 #BCC269

Accessibility & contrast

On white

4.39
#787D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#787D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D33
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D33#FFFFFF#000000##000000
##787D331.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86772B
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#80766D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787d33;
/* rgb */ color: rgb(120, 125, 51);
/* oklch */ color: oklch(56.9% 0.098 112.7);
Tailwind
colors: {
  custom: {
    50: '#a1a26e',
    500: '#787d33',
    950: '#000000',
  },
}
SCSS
$custom: #787d33;
$custom-light: #a1a26e;
$custom-dark: #000000;
JSON
{
  "hex": "#787d33",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 51
  },
  "hsl": {
    "h": 64.054,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56947,
    "c": 0.0975,
    "h": 112.7
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#787D33
secondary
#6762AA
accent
#56D25E
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #787D33

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

Preview Lab → · Contrast checker → · Palette generator →

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