#786F1E#786F1E

#786F1E is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.4% C 0.099 H 102.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#786F1E
RGBrgb(120, 111, 30)
HSLhsl(54, 60%, 29%)
HSVhsv(54, 75%, 47%)
CMYKcmyk(0%, 7.5%, 75%, 52.9%)
CIE-LABlab(46.25, -6.40, 43.79)
CIE-LCHlch(46.25, 44.26, 98.31°)
OKLaboklab(53.45% -0.0221 0.097)
OKLCHoklch(53.45% 0.099 102.8)
XYZxyz(13.6651, 15.4563, 3.4916)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F1E #1E2778
analogous
#78421E #786F1E #54781E
triadic
#786F1E #1E786F #6F1E78
tetradic
#786F1E #1E7842 #1E2778 #781E54
square
#786F1E #1E7842 #1E2778 #781E54
split-complementary
#786F1E #1E5478 #421E78
monochromatic
#181706 #474212 #786F1E #A99C2A #CFC141

Accessibility & contrast

On white

5.13
#786F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#786F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F1E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F1E#FFFFFF#000000##FFFFFF
##786F1E1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B10
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#81675F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786f1e;
/* rgb */ color: rgb(120, 111, 30);
/* oklch */ color: oklch(53.4% 0.099 102.8);
Tailwind
colors: {
  custom: {
    50: '#a29860',
    500: '#786f1e',
    950: '#000000',
  },
}
SCSS
$custom: #786f1e;
$custom-light: #a29860;
$custom-dark: #000000;
JSON
{
  "hex": "#786f1e",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 54,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.09945,
    "h": 102.8
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#786F1E
secondary
#4650AC
accent
#54E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #786F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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