#787B29#787B29

#787B29 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.104 H 111.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#787B29
RGBrgb(120, 123, 41)
HSLhsl(62, 50%, 32%)
HSVhsv(62, 67%, 48%)
CMYKcmyk(2.4%, 0%, 66.7%, 51.8%)
CIE-LABlab(49.88, -12.40, 42.78)
CIE-LCHlch(49.88, 44.54, 106.16°)
OKLaboklab(56.37% -0.0378 0.0968)
OKLCHoklch(56.37% 0.104 111.3)
XYZxyz(15.2294, 18.3194, 4.8312)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B29 #2C297B
analogous
#7B5529 #787B29 #4F7B29
triadic
#787B29 #29787B #7B2978
tetradic
#787B29 #297B55 #2C297B #7B294F
square
#787B29 #297B55 #2C297B #7B294F
split-complementary
#787B29 #294F7B #55297B
monochromatic
#1E1F0A #4B4D1A #787B29 #A5A938 #C3C757

Accessibility & contrast

On white

4.50
#787B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#787B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787B29
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787B29#FFFFFF#000000##000000
##787B291.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#80736A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #787b29;
/* rgb */ color: rgb(120, 123, 41);
/* oklch */ color: oklch(56.4% 0.104 111.3);
Tailwind
colors: {
  custom: {
    50: '#a1a167',
    500: '#787b29',
    950: '#000000',
  },
}
SCSS
$custom: #787b29;
$custom-light: #a1a167;
$custom-dark: #000000;
JSON
{
  "hex": "#787b29",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 62.195,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56367,
    "c": 0.10393,
    "h": 111.3
  },
  "luminance": 0.18319
}

Semantic roles & 50–950 ramp

primary
#787B29
secondary
#5753AC
accent
#4EDA53
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #787B29

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

Preview Lab → · Contrast checker → · Palette generator →

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