#787A29#787A29

#787A29 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.103 H 110.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#787A29
RGBrgb(120, 122, 41)
HSLhsl(61, 50%, 32%)
HSVhsv(61, 66%, 48%)
CMYKcmyk(1.6%, 0%, 66.4%, 52.2%)
CIE-LABlab(49.58, -11.85, 42.47)
CIE-LCHlch(49.58, 44.10, 105.59°)
OKLaboklab(56.13% -0.0362 0.0962)
OKLCHoklch(56.13% 0.103 110.6)
XYZxyz(15.1060, 18.0726, 4.7900)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A29 #2B297A
analogous
#7A5329 #787A29 #507A29
triadic
#787A29 #29787A #7A2978
tetradic
#787A29 #297A53 #2B297A #7A2950
square
#787A29 #297A53 #2B297A #7A2950
split-complementary
#787A29 #29507A #53297A
monochromatic
#1E1E0A #4B4C1A #787A29 #A5A838 #C4C757

Accessibility & contrast

On white

4.55
#787A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#787A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A29
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A29#FFFFFF#000000##000000
##787A291.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#807269
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #787a29;
/* rgb */ color: rgb(120, 122, 41);
/* oklch */ color: oklch(56.1% 0.103 110.6);
Tailwind
colors: {
  custom: {
    50: '#a1a067',
    500: '#787a29',
    950: '#000000',
  },
}
SCSS
$custom: #787a29;
$custom-light: #a1a067;
$custom-dark: #000000;
JSON
{
  "hex": "#787a29",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 41
  },
  "hsl": {
    "h": 61.481,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.10277,
    "h": 110.6
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#787A29
secondary
#5553AC
accent
#4FD952
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #787A29

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

Preview Lab → · Contrast checker → · Palette generator →

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