#9C822B#9C822B

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

Color values

HEX#9C822B
RGBrgb(156, 130, 43)
HSLhsl(46, 57%, 39%)
HSVhsv(46, 72%, 61%)
CMYKcmyk(0%, 16.7%, 72.4%, 38.8%)
CIE-LABlab(55.29, 0.33, 48.53)
CIE-LCHlch(55.29, 48.54, 89.61°)
OKLaboklab(61.47% -0.0036 0.1081)
OKLCHoklch(61.47% 0.108 91.9)
XYZxyz(22.1302, 23.2089, 5.5992)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C822B #2B459C
analogous
#9C4A2B #9C822B #7E9C2B
triadic
#9C822B #2B9C82 #822B9C
tetradic
#9C822B #2B9C4A #2B459C #9C2B7E
square
#9C822B #2B9C4A #2B459C #9C2B7E
split-complementary
#9C822B #2B7E9C #4A2B9C
monochromatic
#3C3211 #6C5A1E #9C822B #C9A83B #D6BE6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C822B#FFFFFF#000000##000000
##9C822B1.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)
#90801F
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#A97770
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c822b;
/* rgb */ color: rgb(156, 130, 43);
/* oklch */ color: oklch(61.5% 0.108 91.9);
Tailwind
colors: {
  custom: {
    50: '#bda66a',
    500: '#9c822b',
    950: '#000000',
  },
}
SCSS
$custom: #9c822b;
$custom-light: #bda66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c822b",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 46.195,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61473,
    "c": 0.10818,
    "h": 91.9
  },
  "luminance": 0.23208
}

Semantic roles & 50–950 ramp

primary
#9C822B
secondary
#667ABD
accent
#6BE048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C822B

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

Preview Lab → · Contrast checker → · Palette generator →

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