#787B33#787B33

#787B33 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.095 H 111.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#787B33
RGBrgb(120, 123, 51)
HSLhsl(63, 41%, 34%)
HSVhsv(63, 59%, 48%)
CMYKcmyk(2.4%, 0%, 58.5%, 51.8%)
CIE-LABlab(49.98, -11.64, 38.20)
CIE-LCHlch(49.98, 39.93, 106.95°)
OKLaboklab(56.47% -0.0345 0.0886)
OKLCHoklch(56.47% 0.095 111.3)
XYZxyz(15.4266, 18.3983, 5.8699)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B33 #36337B
analogous
#7B5A33 #787B33 #547B33
triadic
#787B33 #33787B #7B3378
tetradic
#787B33 #337B5A #36337B #7B3354
square
#787B33 #337B5A #36337B #7B3354
split-complementary
#787B33 #33547B #5A337B
monochromatic
#24240F #4E5021 #787B33 #A2A645 #BDC068

Accessibility & contrast

On white

4.49
#787B33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#787B33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787B33
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787B33#FFFFFF#000000##000000
##787B331.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84762B
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#80746B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #787b33;
/* rgb */ color: rgb(120, 123, 51);
/* oklch */ color: oklch(56.5% 0.095 111.3);
Tailwind
colors: {
  custom: {
    50: '#a1a16d',
    500: '#787b33',
    950: '#000000',
  },
}
SCSS
$custom: #787b33;
$custom-light: #a1a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#787b33",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 51
  },
  "hsl": {
    "h": 62.5,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.09503,
    "h": 111.3
  },
  "luminance": 0.18398
}

Semantic roles & 50–950 ramp

primary
#787B33
secondary
#6462A8
accent
#57D15C
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #787B33

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

Preview Lab → · Contrast checker → · Palette generator →

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