#9C822F#9C822F

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

Color values

HEX#9C822F
RGBrgb(156, 130, 47)
HSLhsl(46, 54%, 40%)
HSVhsv(46, 70%, 61%)
CMYKcmyk(0%, 16.7%, 69.9%, 38.8%)
CIE-LABlab(55.32, 0.55, 46.84)
CIE-LCHlch(55.32, 46.84, 89.33°)
OKLaboklab(61.51% -0.0025 0.1053)
OKLCHoklch(61.51% 0.105 91.4)
XYZxyz(22.2072, 23.2397, 6.0048)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C822F #2F499C
analogous
#9C4B2F #9C822F #809C2F
triadic
#9C822F #2F9C82 #822F9C
tetradic
#9C822F #2F9C4B #2F499C #9C2F80
square
#9C822F #2F9C4B #2F499C #9C2F80
split-complementary
#9C822F #2F809C #4B2F9C
monochromatic
#3E3413 #6D5B21 #9C822F #C6A742 #D4BD71

Accessibility & contrast

On white

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

On black

5.65
#9C822F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C822F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C822F#FFFFFF#000000##000000
##9C822F1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#A97771
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c822f;
/* rgb */ color: rgb(156, 130, 47);
/* oklch */ color: oklch(61.5% 0.105 91.4);
Tailwind
colors: {
  custom: {
    50: '#bda66c',
    500: '#9c822f',
    950: '#000000',
  },
}
SCSS
$custom: #9c822f;
$custom-light: #bda66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c822f",
  "rgb": {
    "r": 156,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 45.688,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61508,
    "c": 0.10529,
    "h": 91.4
  },
  "luminance": 0.23238
}

Semantic roles & 50–950 ramp

primary
#9C822F
secondary
#6B7EBC
accent
#6EDD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C822F

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

Preview Lab → · Contrast checker → · Palette generator →

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