#786417#786417

#786417 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.9% C 0.095 H 93.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#786417
RGBrgb(120, 100, 23)
HSLhsl(48, 68%, 28%)
HSVhsv(48, 81%, 47%)
CMYKcmyk(0%, 16.7%, 80.8%, 52.9%)
CIE-LABlab(43.02, -0.40, 43.46)
CIE-LCHlch(43.02, 43.46, 90.53°)
OKLaboklab(50.87% -0.0059 0.0948)
OKLCHoklch(50.87% 0.095 93.6)
XYZxyz(12.4583, 13.1700, 2.6963)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786417 #172B78
analogous
#783317 #786417 #5B7817
triadic
#786417 #177864 #641778
tetradic
#786417 #177833 #172B78 #78175B
square
#786417 #177833 #172B78 #78175B
split-complementary
#786417 #175B78 #331778
monochromatic
#1A1505 #45390D #786417 #AB8F21 #D8B532

Accessibility & contrast

On white

5.78
#786417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#786417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786417
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786417#FFFFFF#000000##FFFFFF
##7864171.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706207
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#825B55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #786417;
/* rgb */ color: rgb(120, 100, 23);
/* oklch */ color: oklch(50.9% 0.095 93.6);
Tailwind
colors: {
  custom: {
    50: '#a38f5b',
    500: '#786417',
    950: '#000000',
  },
}
SCSS
$custom: #786417;
$custom-light: #a38f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#786417",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 47.629,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5087,
    "c": 0.09495,
    "h": 93.6
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#786417
secondary
#3E55AD
accent
#61EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786417

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

Preview Lab → · Contrast checker → · Palette generator →

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