#9C862F#9C862F

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

Color values

HEX#9C862F
RGBrgb(156, 134, 47)
HSLhsl(48, 54%, 40%)
HSVhsv(48, 70%, 61%)
CMYKcmyk(0%, 14.1%, 69.9%, 38.8%)
CIE-LABlab(56.41, -1.67, 47.96)
CIE-LCHlch(56.41, 47.99, 92.00°)
OKLaboklab(62.37% -0.0089 0.1077)
OKLCHoklch(62.37% 0.108 94.7)
XYZxyz(22.7496, 24.3246, 6.1856)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C862F #2F459C
analogous
#9C502F #9C862F #7C9C2F
triadic
#9C862F #2F9C86 #862F9C
tetradic
#9C862F #2F9C50 #2F459C #9C2F7C
square
#9C862F #2F9C50 #2F459C #9C2F7C
split-complementary
#9C862F #2F7C9C #502F9C
monochromatic
#3E3513 #6D5E21 #9C862F #C6AB42 #D4C071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C862F#FFFFFF#000000##000000
##9C862F1.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)
#948323
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#A87C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9c862f;
/* rgb */ color: rgb(156, 134, 47);
/* oklch */ color: oklch(62.4% 0.108 94.7);
Tailwind
colors: {
  custom: {
    50: '#bca86d',
    500: '#9c862f',
    950: '#000000',
  },
}
SCSS
$custom: #9c862f;
$custom-light: #bca86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c862f",
  "rgb": {
    "r": 156,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 47.89,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.10802,
    "h": 94.7
  },
  "luminance": 0.24323
}

Semantic roles & 50–950 ramp

primary
#9C862F
secondary
#6B7BBC
accent
#68DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C862F

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

Preview Lab → · Contrast checker → · Palette generator →

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