#9C8622#9C8622

#9C8622 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.117 H 96.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9C8622
RGBrgb(156, 134, 34)
HSLhsl(49, 64%, 37%)
HSVhsv(49, 78%, 61%)
CMYKcmyk(0%, 14.1%, 78.2%, 38.8%)
CIE-LABlab(56.32, -2.31, 53.05)
CIE-LCHlch(56.32, 53.10, 92.50°)
OKLaboklab(62.27% -0.0122 0.1159)
OKLCHoklch(62.27% 0.117 96)
XYZxyz(22.5253, 24.2349, 5.0044)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8622 #22389C
analogous
#9C4922 #9C8622 #759C22
triadic
#9C8622 #229C86 #86229C
tetradic
#9C8622 #229C49 #22389C #9C2275
square
#9C8622 #229C49 #22389C #9C2275
split-complementary
#9C8622 #22759C #49229C
monochromatic
#38300C #6A5B17 #9C8622 #CEB12D #DCC55D

Accessibility & contrast

On white

3.59
#9C8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9C8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8622
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8622#FFFFFF#000000##000000
##9C86221.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#A97B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9c8622;
/* rgb */ color: rgb(156, 134, 34);
/* oklch */ color: oklch(62.3% 0.117 96.0);
Tailwind
colors: {
  custom: {
    50: '#bda866',
    500: '#9c8622',
    950: '#000000',
  },
}
SCSS
$custom: #9c8622;
$custom-light: #bda866;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8622",
  "rgb": {
    "r": 156,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 49.18,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62273,
    "c": 0.11653,
    "h": 96
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#9C8622
secondary
#5A6CC0
accent
#5FE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8622

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

Preview Lab → · Contrast checker → · Palette generator →

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