#9C862A#9C862A

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

Color values

HEX#9C862A
RGBrgb(156, 134, 42)
HSLhsl(48, 58%, 39%)
HSVhsv(48, 73%, 61%)
CMYKcmyk(0%, 14.1%, 73.1%, 38.8%)
CIE-LABlab(56.37, -1.95, 50.03)
CIE-LCHlch(56.37, 50.07, 92.23°)
OKLaboklab(62.33% -0.0103 0.1111)
OKLCHoklch(62.33% 0.112 95.3)
XYZxyz(22.6545, 24.2865, 5.6845)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C862A #2A409C
analogous
#9C4D2A #9C862A #799C2A
triadic
#9C862A #2A9C86 #862A9C
tetradic
#9C862A #2A9C4D #2A409C #9C2A79
square
#9C862A #2A9C4D #2A409C #9C2A79
split-complementary
#9C862A #2A799C #4D2A9C
monochromatic
#3C3310 #6C5D1D #9C862A #CAAE39 #D7C26A

Accessibility & contrast

On white

3.59
#9C862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C862A#FFFFFF#000000##000000
##9C862A1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831C
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#A97B74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9c862a;
/* rgb */ color: rgb(156, 134, 42);
/* oklch */ color: oklch(62.3% 0.112 95.3);
Tailwind
colors: {
  custom: {
    50: '#bda86a',
    500: '#9c862a',
    950: '#000000',
  },
}
SCSS
$custom: #9c862a;
$custom-light: #bda86a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c862a",
  "rgb": {
    "r": 156,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 48.421,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6233,
    "c": 0.11156,
    "h": 95.3
  },
  "luminance": 0.24285
}

Semantic roles & 50–950 ramp

primary
#9C862A
secondary
#6576BD
accent
#65E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C862A

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

Preview Lab → · Contrast checker → · Palette generator →

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