#9C822D#9C822D

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

Color values

HEX#9C822D
RGBrgb(156, 130, 45)
HSLhsl(46, 55%, 39%)
HSVhsv(46, 71%, 61%)
CMYKcmyk(0%, 16.7%, 71.2%, 38.8%)
CIE-LABlab(55.30, 0.44, 47.69)
CIE-LCHlch(55.30, 47.70, 89.48°)
OKLaboklab(61.49% -0.0031 0.1067)
OKLCHoklch(61.49% 0.107 91.7)
XYZxyz(22.1678, 23.2239, 5.7972)
Luminance0.2322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C822D #2D479C
analogous
#9C4B2D #9C822D #7F9C2D
triadic
#9C822D #2D9C82 #822D9C
tetradic
#9C822D #2D9C4B #2D479C #9C2D7F
square
#9C822D #2D9C4B #2D479C #9C2D7F
split-complementary
#9C822D #2D7F9C #4B2D9C
monochromatic
#3D3312 #6D5A1F #9C822D #C8A73F #D5BD6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C822D#FFFFFF#000000##000000
##9C822D1.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)
#908021
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#A97771
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c822d;
/* rgb */ color: rgb(156, 130, 45);
/* oklch */ color: oklch(61.5% 0.107 91.7);
Tailwind
colors: {
  custom: {
    50: '#bda66b',
    500: '#9c822d',
    950: '#000000',
  },
}
SCSS
$custom: #9c822d;
$custom-light: #bda66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c822d",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 45.946,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.10676,
    "h": 91.7
  },
  "luminance": 0.23223
}

Semantic roles & 50–950 ramp

primary
#9C822D
secondary
#687CBC
accent
#6CDF49
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C822D

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

Preview Lab → · Contrast checker → · Palette generator →

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