#786215#786215

#786215 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.4% C 0.095 H 91.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#786215
RGBrgb(120, 98, 21)
HSLhsl(47, 70%, 28%)
HSVhsv(47, 83%, 47%)
CMYKcmyk(0%, 18.3%, 82.5%, 52.9%)
CIE-LABlab(42.43, 0.68, 43.67)
CIE-LCHlch(42.43, 43.67, 89.10°)
OKLaboklab(50.41% -0.003 0.0948)
OKLCHoklch(50.41% 0.095 91.8)
XYZxyz(12.2495, 12.7833, 2.5316)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786215 #152B78
analogous
#783115 #786215 #5C7815
triadic
#786215 #157862 #621578
tetradic
#786215 #157831 #152B78 #78155C
square
#786215 #157831 #152B78 #78155C
split-complementary
#786215 #155C78 #311578
monochromatic
#1A1505 #44370C #786215 #AC8D1E #DAB42D

Accessibility & contrast

On white

5.90
#786215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#786215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786215
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786215#FFFFFF#000000##FFFFFF
##7862151.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6104
Deuteranopia (green-blind)
#73671A
Tritanopia (blue-blind)
#835954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #786215;
/* rgb */ color: rgb(120, 98, 21);
/* oklch */ color: oklch(50.4% 0.095 91.8);
Tailwind
colors: {
  custom: {
    50: '#a38e5a',
    500: '#786215',
    950: '#000000',
  },
}
SCSS
$custom: #786215;
$custom-light: #a38e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#786215",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 46.667,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.09481,
    "h": 91.8
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#786215
secondary
#3B55AE
accent
#62ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786215

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

Preview Lab → · Contrast checker → · Palette generator →

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