#786E1E#786E1E

#786E1E is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.2% C 0.099 H 102.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#786E1E
RGBrgb(120, 110, 30)
HSLhsl(53, 60%, 29%)
HSVhsv(53, 75%, 47%)
CMYKcmyk(0%, 8.3%, 75%, 52.9%)
CIE-LABlab(45.96, -5.83, 43.51)
CIE-LCHlch(45.96, 43.90, 97.63°)
OKLaboklab(53.22% -0.0205 0.0964)
OKLCHoklch(53.22% 0.099 102)
XYZxyz(13.5566, 15.2393, 3.4554)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E1E #1E2878
analogous
#78411E #786E1E #55781E
triadic
#786E1E #1E786E #6E1E78
tetradic
#786E1E #1E7841 #1E2878 #781E55
square
#786E1E #1E7841 #1E2878 #781E55
split-complementary
#786E1E #1E5578 #411E78
monochromatic
#181606 #474112 #786E1E #A99B2A #CFC041

Accessibility & contrast

On white

5.19
#786E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#786E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E1E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E1E#FFFFFF#000000##FFFFFF
##786E1E1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A11
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#82665E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786e1e;
/* rgb */ color: rgb(120, 110, 30);
/* oklch */ color: oklch(53.2% 0.099 102.0);
Tailwind
colors: {
  custom: {
    50: '#a29760',
    500: '#786e1e',
    950: '#000000',
  },
}
SCSS
$custom: #786e1e;
$custom-light: #a29760;
$custom-dark: #000000;
JSON
{
  "hex": "#786e1e",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 30
  },
  "hsl": {
    "h": 53.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.0985,
    "h": 102
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#786E1E
secondary
#4651AC
accent
#56E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #786E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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