#786015#786015

#786015 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 50.0% C 0.094 H 89.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#786015
RGBrgb(120, 96, 21)
HSLhsl(45, 70%, 28%)
HSVhsv(45, 83%, 47%)
CMYKcmyk(0%, 20%, 82.5%, 52.9%)
CIE-LABlab(41.87, 1.86, 43.15)
CIE-LCHlch(41.87, 43.19, 87.53°)
OKLaboklab(49.96% 0.0004 0.0937)
OKLCHoklch(49.96% 0.094 89.8)
XYZxyz(12.0647, 12.4137, 2.4700)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786015 #152D78
analogous
#782F15 #786015 #5E7815
triadic
#786015 #157860 #601578
tetradic
#786015 #15782F #152D78 #78155E
square
#786015 #15782F #152D78 #78155E
split-complementary
#786015 #155E78 #2F1578
monochromatic
#1A1505 #44360C #786015 #AC8A1E #DAB02D

Accessibility & contrast

On white

6.03
#786015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#786015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786015
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786015#FFFFFF#000000##FFFFFF
##7860151.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#72661A
Tritanopia (blue-blind)
#835752
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #786015;
/* rgb */ color: rgb(120, 96, 21);
/* oklch */ color: oklch(50.0% 0.094 89.8);
Tailwind
colors: {
  custom: {
    50: '#a38c5a',
    500: '#786015',
    950: '#000000',
  },
}
SCSS
$custom: #786015;
$custom-light: #a38c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#786015",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 45.455,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49957,
    "c": 0.09365,
    "h": 89.8
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#786015
secondary
#3B57AE
accent
#66ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786015

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

Preview Lab → · Contrast checker → · Palette generator →

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