#786629#786629

#786629 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.5% C 0.083 H 92.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#786629
RGBrgb(120, 102, 41)
HSLhsl(46, 49%, 32%)
HSVhsv(46, 66%, 47%)
CMYKcmyk(0%, 15%, 65.8%, 52.9%)
CIE-LABlab(43.74, -0.55, 36.21)
CIE-LCHlch(43.74, 36.21, 90.86°)
OKLaboklab(51.48% -0.004 0.0829)
OKLCHoklch(51.48% 0.083 92.8)
XYZxyz(12.8979, 13.6566, 4.0540)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786629 #293B78
analogous
#783F29 #786629 #637829
triadic
#786629 #297866 #662978
tetradic
#786629 #29783F #293B78 #782963
square
#786629 #29783F #293B78 #782963
split-complementary
#786629 #296378 #3F2978
monochromatic
#1D180A #4A3F19 #786629 #A68D39 #C5AC56

Accessibility & contrast

On white

5.63
#786629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#786629 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786629
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786629#FFFFFF#000000##FFFFFF
##7866291.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716422
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#825E59
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #786629;
/* rgb */ color: rgb(120, 102, 41);
/* oklch */ color: oklch(51.5% 0.083 92.8);
Tailwind
colors: {
  custom: {
    50: '#a29165',
    500: '#786629',
    950: '#000000',
  },
}
SCSS
$custom: #786629;
$custom-light: #a29165;
$custom-dark: #000000;
JSON
{
  "hex": "#786629",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 41
  },
  "hsl": {
    "h": 46.329,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.083,
    "h": 92.8
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#786629
secondary
#5367AA
accent
#6ED94F
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C06
muted
#7F7D7A

Preview Lab

Preview with #786629

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

Preview Lab → · Contrast checker → · Palette generator →

#786629 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva