#786A29#786A29

#786A29 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.4% C 0.086 H 97.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#786A29
RGBrgb(120, 106, 41)
HSLhsl(49, 49%, 32%)
HSVhsv(49, 66%, 47%)
CMYKcmyk(0%, 11.7%, 65.8%, 52.9%)
CIE-LABlab(44.89, -2.86, 37.47)
CIE-LCHlch(44.89, 37.58, 94.37°)
OKLaboklab(52.39% -0.0107 0.0856)
OKLCHoklch(52.39% 0.086 97.1)
XYZxyz(13.3006, 14.4619, 4.1882)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786A29 #293778
analogous
#784329 #786A29 #5F7829
triadic
#786A29 #29786A #6A2978
tetradic
#786A29 #297843 #293778 #78295F
square
#786A29 #297843 #293778 #78295F
split-complementary
#786A29 #295F78 #432978
monochromatic
#1D190A #4A4219 #786A29 #A69239 #C5B256

Accessibility & contrast

On white

5.40
#786A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#786A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786A29
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786A29#FFFFFF#000000##FFFFFF
##786A291.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746822
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#81625C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #786a29;
/* rgb */ color: rgb(120, 106, 41);
/* oklch */ color: oklch(52.4% 0.086 97.1);
Tailwind
colors: {
  custom: {
    50: '#a19466',
    500: '#786a29',
    950: '#000000',
  },
}
SCSS
$custom: #786a29;
$custom-light: #a19466;
$custom-dark: #000000;
JSON
{
  "hex": "#786a29",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 41
  },
  "hsl": {
    "h": 49.367,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.08624,
    "h": 97.1
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#786A29
secondary
#5362AA
accent
#68D94F
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #786A29

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

Preview Lab → · Contrast checker → · Palette generator →

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