#9C822A#9C822A

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

Color values

HEX#9C822A
RGBrgb(156, 130, 42)
HSLhsl(46, 58%, 39%)
HSVhsv(46, 73%, 61%)
CMYKcmyk(0%, 16.7%, 73.1%, 38.8%)
CIE-LABlab(55.28, 0.28, 48.95)
CIE-LCHlch(55.28, 48.95, 89.68°)
OKLaboklab(61.47% -0.0039 0.1088)
OKLCHoklch(61.47% 0.109 92.1)
XYZxyz(22.1120, 23.2016, 5.5037)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C822A #2A449C
analogous
#9C492A #9C822A #7D9C2A
triadic
#9C822A #2A9C82 #822A9C
tetradic
#9C822A #2A9C49 #2A449C #9C2A7D
square
#9C822A #2A9C49 #2A449C #9C2A7D
split-complementary
#9C822A #2A7D9C #492A9C
monochromatic
#3C3210 #6C5A1D #9C822A #CAA939 #D7BE6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9c822a;
/* rgb */ color: rgb(156, 130, 42);
/* oklch */ color: oklch(61.5% 0.109 92.1);
Tailwind
colors: {
  custom: {
    50: '#bda669',
    500: '#9c822a',
    950: '#000000',
  },
}
SCSS
$custom: #9c822a;
$custom-light: #bda669;
$custom-dark: #000000;
JSON
{
  "hex": "#9c822a",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 46.316,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61465,
    "c": 0.10886,
    "h": 92.1
  },
  "luminance": 0.232
}

Semantic roles & 50–950 ramp

primary
#9C822A
secondary
#6579BD
accent
#6AE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9C822A

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

Preview Lab → · Contrast checker → · Palette generator →

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