#9C831D#9C831D

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

Color values

HEX#9C831D
RGBrgb(156, 131, 29)
HSLhsl(48, 69%, 36%)
HSVhsv(48, 81%, 61%)
CMYKcmyk(0%, 16%, 81.4%, 38.8%)
CIE-LABlab(55.47, -0.84, 54.00)
CIE-LCHlch(55.47, 54.01, 90.90°)
OKLaboklab(61.59% -0.0085 0.1169)
OKLCHoklch(61.59% 0.117 94.2)
XYZxyz(22.0496, 23.3905, 4.5156)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C831D #1D369C
analogous
#9C441D #9C831D #769C1D
triadic
#9C831D #1D9C83 #831D9C
tetradic
#9C831D #1D9C44 #1D369C #9C1D76
square
#9C831D #1D9C44 #1D369C #9C1D76
split-complementary
#9C831D #1D769C #441D9C
monochromatic
#352C0A #685813 #9C831D #D0AE27 #DFC454

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C831D#FFFFFF#000000##000000
##9C831D1.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)
#928102
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#A97870
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c831d;
/* rgb */ color: rgb(156, 131, 29);
/* oklch */ color: oklch(61.6% 0.117 94.2);
Tailwind
colors: {
  custom: {
    50: '#bda663',
    500: '#9c831d',
    950: '#000000',
  },
}
SCSS
$custom: #9c831d;
$custom-light: #bda663;
$custom-dark: #000000;
JSON
{
  "hex": "#9c831d",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 48.189,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61592,
    "c": 0.11717,
    "h": 94.2
  },
  "luminance": 0.23389
}

Semantic roles & 50–950 ramp

primary
#9C831D
secondary
#5268C2
accent
#5FEB3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C831D

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

Preview Lab → · Contrast checker → · Palette generator →

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