#9C862E#9C862E

#9C862E is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.4% C 0.109 H 94.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9C862E
RGBrgb(156, 134, 46)
HSLhsl(48, 54%, 40%)
HSVhsv(48, 71%, 61%)
CMYKcmyk(0%, 14.1%, 70.5%, 38.8%)
CIE-LABlab(56.40, -1.73, 48.39)
CIE-LCHlch(56.40, 48.42, 92.05°)
OKLaboklab(62.36% -0.0092 0.1084)
OKLCHoklch(62.36% 0.109 94.8)
XYZxyz(22.7297, 24.3166, 6.0806)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C862E #2E449C
analogous
#9C4F2E #9C862E #7B9C2E
triadic
#9C862E #2E9C86 #862E9C
tetradic
#9C862E #2E9C4F #2E449C #9C2E7B
square
#9C862E #2E9C4F #2E449C #9C2E7B
split-complementary
#9C862E #2E7B9C #4F2E9C
monochromatic
#3D3512 #6D5D20 #9C862E #C7AC40 #D5C170

Accessibility & contrast

On white

3.58
#9C862E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#9C862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C862E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C862E#FFFFFF#000000##000000
##9C862E1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#9A8A33
Tritanopia (blue-blind)
#A97C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9c862e;
/* rgb */ color: rgb(156, 134, 46);
/* oklch */ color: oklch(62.4% 0.109 94.8);
Tailwind
colors: {
  custom: {
    50: '#bda86c',
    500: '#9c862e',
    950: '#000000',
  },
}
SCSS
$custom: #9c862e;
$custom-light: #bda86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c862e",
  "rgb": {
    "r": 156,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 48,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62363,
    "c": 0.10876,
    "h": 94.8
  },
  "luminance": 0.24315
}

Semantic roles & 50–950 ramp

primary
#9C862E
secondary
#6A7ABC
accent
#68DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C862E

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

Preview Lab → · Contrast checker → · Palette generator →

#9C862E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva