#787A33#787A33

#787A33 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.2% C 0.094 H 110.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#787A33
RGBrgb(120, 122, 51)
HSLhsl(62, 41%, 34%)
HSVhsv(62, 58%, 48%)
CMYKcmyk(1.6%, 0%, 58.2%, 52.2%)
CIE-LABlab(49.68, -11.09, 37.86)
CIE-LCHlch(49.68, 39.45, 106.33°)
OKLaboklab(56.24% -0.0329 0.0878)
OKLCHoklch(56.24% 0.094 110.6)
XYZxyz(15.3032, 18.1515, 5.8288)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A33 #35337A
analogous
#7A5933 #787A33 #557A33
triadic
#787A33 #33787A #7A3378
tetradic
#787A33 #337A59 #35337A #7A3355
square
#787A33 #337A59 #35337A #7A3355
split-complementary
#787A33 #33557A #59337A
monochromatic
#23240F #4E4F21 #787A33 #A2A545 #BDC068

Accessibility & contrast

On white

4.54
#787A33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#787A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A33
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A33#FFFFFF#000000##000000
##787A331.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83752C
Deuteranopia (green-blind)
#847737
Tritanopia (blue-blind)
#80736A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #787a33;
/* rgb */ color: rgb(120, 122, 51);
/* oklch */ color: oklch(56.2% 0.094 110.6);
Tailwind
colors: {
  custom: {
    50: '#a1a06d',
    500: '#787a33',
    950: '#000000',
  },
}
SCSS
$custom: #787a33;
$custom-light: #a1a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#787a33",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 51
  },
  "hsl": {
    "h": 61.69,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.0938,
    "h": 110.6
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

primary
#787A33
secondary
#6361A8
accent
#57D15A
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #787A33

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

Preview Lab → · Contrast checker → · Palette generator →

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