#9C8A22#9C8A22

#9C8A22 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.119 H 98.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9C8A22
RGBrgb(156, 138, 34)
HSLhsl(51, 64%, 37%)
HSVhsv(51, 78%, 61%)
CMYKcmyk(0%, 11.5%, 78.2%, 38.8%)
CIE-LABlab(57.43, -4.51, 54.07)
CIE-LCHlch(57.43, 54.26, 94.77°)
OKLaboklab(63.15% -0.0184 0.1181)
OKLCHoklch(63.15% 0.12 98.9)
XYZxyz(23.0887, 25.3615, 5.1922)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A22 #22349C
analogous
#9C4D22 #9C8A22 #719C22
triadic
#9C8A22 #229C8A #8A229C
tetradic
#9C8A22 #229C4D #22349C #9C2271
square
#9C8A22 #229C4D #22349C #9C2271
split-complementary
#9C8A22 #22719C #4D229C
monochromatic
#38310C #6A5E17 #9C8A22 #CEB62D #DCC95D

Accessibility & contrast

On white

3.46
#9C8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#9C8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A22
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A22#FFFFFF#000000##000000
##9C8A221.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860B
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#A97F76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a22;
/* rgb */ color: rgb(156, 138, 34);
/* oklch */ color: oklch(63.1% 0.119 98.9);
Tailwind
colors: {
  custom: {
    50: '#bdab66',
    500: '#9c8a22',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a22;
$custom-light: #bdab66;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a22",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 51.148,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63147,
    "c": 0.1195,
    "h": 98.9
  },
  "luminance": 0.2536
}

Semantic roles & 50–950 ramp

primary
#9C8A22
secondary
#5A69C0
accent
#59E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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