#787C33#787C33

#787C33 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.096 H 112.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#787C33
RGBrgb(120, 124, 51)
HSLhsl(63, 42%, 34%)
HSVhsv(63, 59%, 49%)
CMYKcmyk(3.2%, 0%, 58.9%, 51.4%)
CIE-LABlab(50.27, -12.19, 38.53)
CIE-LCHlch(50.27, 40.41, 107.55°)
OKLaboklab(56.71% -0.036 0.0893)
OKLCHoklch(56.71% 0.096 112)
XYZxyz(15.5513, 18.6477, 5.9115)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C33 #37337C
analogous
#7C5C33 #787C33 #547C33
triadic
#787C33 #33787C #7C3378
tetradic
#787C33 #337C5C #37337C #7C3354
square
#787C33 #337C5C #37337C #7C3354
split-complementary
#787C33 #33547C #5C337C
monochromatic
#24250F #4E5121 #787C33 #A2A745 #BCC168

Accessibility & contrast

On white

4.44
#787C33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#787C33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C33
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C33#FFFFFF#000000##000000
##787C331.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85772B
Deuteranopia (green-blind)
#857937
Tritanopia (blue-blind)
#80756C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787c33;
/* rgb */ color: rgb(120, 124, 51);
/* oklch */ color: oklch(56.7% 0.096 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a16e',
    500: '#787c33',
    950: '#000000',
  },
}
SCSS
$custom: #787c33;
$custom-light: #a1a16e;
$custom-dark: #000000;
JSON
{
  "hex": "#787c33",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 51
  },
  "hsl": {
    "h": 63.288,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.09626,
    "h": 112
  },
  "luminance": 0.18647
}

Semantic roles & 50–950 ramp

primary
#787C33
secondary
#6662A9
accent
#56D25D
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #787C33

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

Preview Lab → · Contrast checker → · Palette generator →

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