#9C8722#9C8722

#9C8722 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.117 H 96.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9C8722
RGBrgb(156, 135, 34)
HSLhsl(50, 64%, 37%)
HSVhsv(50, 78%, 61%)
CMYKcmyk(0%, 13.5%, 78.2%, 38.8%)
CIE-LABlab(56.60, -2.87, 53.31)
CIE-LCHlch(56.60, 53.38, 93.08°)
OKLaboklab(62.49% -0.0138 0.1164)
OKLCHoklch(62.49% 0.117 96.7)
XYZxyz(22.6642, 24.5126, 5.0507)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8722 #22379C
analogous
#9C4A22 #9C8722 #749C22
triadic
#9C8722 #229C87 #87229C
tetradic
#9C8722 #229C4A #22379C #9C2274
square
#9C8722 #229C4A #22379C #9C2274
split-complementary
#9C8722 #22749C #4A229C
monochromatic
#38300C #6A5C17 #9C8722 #CEB22D #DCC65D

Accessibility & contrast

On white

3.56
#9C8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9C8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8722
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8722#FFFFFF#000000##000000
##9C87221.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840D
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#A97C74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9c8722;
/* rgb */ color: rgb(156, 135, 34);
/* oklch */ color: oklch(62.5% 0.117 96.7);
Tailwind
colors: {
  custom: {
    50: '#bda966',
    500: '#9c8722',
    950: '#000000',
  },
}
SCSS
$custom: #9c8722;
$custom-light: #bda966;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8722",
  "rgb": {
    "r": 156,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 49.672,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.6249,
    "c": 0.11724,
    "h": 96.7
  },
  "luminance": 0.24511
}

Semantic roles & 50–950 ramp

primary
#9C8722
secondary
#5A6BC0
accent
#5DE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8722

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

Preview Lab → · Contrast checker → · Palette generator →

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