#9C831F#9C831F

#9C831F is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.116 H 94.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9C831F
RGBrgb(156, 131, 31)
HSLhsl(48, 67%, 37%)
HSVhsv(48, 80%, 61%)
CMYKcmyk(0%, 16%, 80.1%, 38.8%)
CIE-LABlab(55.48, -0.77, 53.34)
CIE-LCHlch(55.48, 53.34, 90.83°)
OKLaboklab(61.6% -0.0081 0.1159)
OKLCHoklch(61.6% 0.116 94)
XYZxyz(22.0752, 23.4008, 4.6501)
Luminance0.2340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C831F #1F389C
analogous
#9C451F #9C831F #779C1F
triadic
#9C831F #1F9C83 #831F9C
tetradic
#9C831F #1F9C45 #1F389C #9C1F77
square
#9C831F #1F9C45 #1F389C #9C1F77
split-complementary
#9C831F #1F779C #451F9C
monochromatic
#362D0B #695815 #9C831F #CFAE29 #DEC358

Accessibility & contrast

On white

3.70
#9C831F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9C831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C831F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C831F#FFFFFF#000000##000000
##9C831F1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A97870
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c831f;
/* rgb */ color: rgb(156, 131, 31);
/* oklch */ color: oklch(61.6% 0.116 94.0);
Tailwind
colors: {
  custom: {
    50: '#bda664',
    500: '#9c831f',
    950: '#000000',
  },
}
SCSS
$custom: #9c831f;
$custom-light: #bda664;
$custom-dark: #000000;
JSON
{
  "hex": "#9c831f",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 48,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.11614,
    "h": 94
  },
  "luminance": 0.23399
}

Semantic roles & 50–950 ramp

primary
#9C831F
secondary
#556BC1
accent
#60EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C831F

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

Preview Lab → · Contrast checker → · Palette generator →

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