#9C822C#9C822C

#9C822C is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.5% C 0.107 H 91.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9C822C
RGBrgb(156, 130, 44)
HSLhsl(46, 56%, 39%)
HSVhsv(46, 72%, 61%)
CMYKcmyk(0%, 16.7%, 71.8%, 38.8%)
CIE-LABlab(55.29, 0.38, 48.12)
CIE-LCHlch(55.29, 48.12, 89.55°)
OKLaboklab(61.48% -0.0034 0.1074)
OKLCHoklch(61.48% 0.107 91.8)
XYZxyz(22.1487, 23.2163, 5.6970)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C822C #2C469C
analogous
#9C4A2C #9C822C #7E9C2C
triadic
#9C822C #2C9C82 #822C9C
tetradic
#9C822C #2C9C4A #2C469C #9C2C7E
square
#9C822C #2C9C4A #2C469C #9C2C7E
split-complementary
#9C822C #2C7E9C #4A2C9C
monochromatic
#3D3211 #6C5A1F #9C822C #C8A83D #D6BD6D

Accessibility & contrast

On white

3.72
#9C822C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#9C822C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C822C
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C822C#FFFFFF#000000##000000
##9C822C1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#A97770
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c822c;
/* rgb */ color: rgb(156, 130, 44);
/* oklch */ color: oklch(61.5% 0.107 91.8);
Tailwind
colors: {
  custom: {
    50: '#bda66a',
    500: '#9c822c',
    950: '#000000',
  },
}
SCSS
$custom: #9c822c;
$custom-light: #bda66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c822c",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 46.071,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.10747,
    "h": 91.8
  },
  "luminance": 0.23215
}

Semantic roles & 50–950 ramp

primary
#9C822C
secondary
#677BBD
accent
#6CDF49
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C822C

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

Preview Lab → · Contrast checker → · Palette generator →

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