#9C851F#9C851F

#9C851F is a light, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.117 H 95.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9C851F
RGBrgb(156, 133, 31)
HSLhsl(49, 67%, 37%)
HSVhsv(49, 80%, 61%)
CMYKcmyk(0%, 14.7%, 80.1%, 38.8%)
CIE-LABlab(56.03, -1.88, 53.83)
CIE-LCHlch(56.03, 53.87, 92.00°)
OKLaboklab(62.04% -0.0113 0.1169)
OKLCHoklch(62.04% 0.117 95.5)
XYZxyz(22.3464, 23.9432, 4.7405)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C851F #1F369C
analogous
#9C471F #9C851F #759C1F
triadic
#9C851F #1F9C85 #851F9C
tetradic
#9C851F #1F9C47 #1F369C #9C1F75
square
#9C851F #1F9C47 #1F369C #9C1F75
split-complementary
#9C851F #1F759C #471F9C
monochromatic
#362E0B #695915 #9C851F #CFB129 #DEC558

Accessibility & contrast

On white

3.63
#9C851F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#9C851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C851F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C851F#FFFFFF#000000##000000
##9C851F1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948206
Deuteranopia (green-blind)
#9A8926
Tritanopia (blue-blind)
#A97A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c851f;
/* rgb */ color: rgb(156, 133, 31);
/* oklch */ color: oklch(62.0% 0.117 95.5);
Tailwind
colors: {
  custom: {
    50: '#bda864',
    500: '#9c851f',
    950: '#000000',
  },
}
SCSS
$custom: #9c851f;
$custom-light: #bda864;
$custom-dark: #000000;
JSON
{
  "hex": "#9c851f",
  "rgb": {
    "r": 156,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 48.96,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.11747,
    "h": 95.5
  },
  "luminance": 0.23942
}

Semantic roles & 50–950 ramp

primary
#9C851F
secondary
#5569C1
accent
#5EEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C851F

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

Preview Lab → · Contrast checker → · Palette generator →

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