#9C8C22#9C8C22

#9C8C22 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.121 H 100.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9C8C22
RGBrgb(156, 140, 34)
HSLhsl(52, 64%, 37%)
HSVhsv(52, 78%, 61%)
CMYKcmyk(0%, 10.3%, 78.2%, 38.8%)
CIE-LABlab(57.98, -5.61, 54.58)
CIE-LCHlch(57.98, 54.87, 95.86°)
OKLaboklab(63.59% -0.0215 0.1192)
OKLCHoklch(63.59% 0.121 100.2)
XYZxyz(23.3783, 25.9407, 5.2887)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8C22 #22329C
analogous
#9C4F22 #9C8C22 #6F9C22
triadic
#9C8C22 #229C8C #8C229C
tetradic
#9C8C22 #229C4F #22329C #9C226F
square
#9C8C22 #229C4F #22329C #9C226F
split-complementary
#9C8C22 #226F9C #4F229C
monochromatic
#38320C #6A5F17 #9C8C22 #CEB92D #DCCB5D

Accessibility & contrast

On white

3.39
#9C8C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#9C8C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8C22
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8C22#FFFFFF#000000##000000
##9C8C221.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880A
Deuteranopia (green-blind)
#9E8E2A
Tritanopia (blue-blind)
#A98178
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8c22;
/* rgb */ color: rgb(156, 140, 34);
/* oklch */ color: oklch(63.6% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#bdad66',
    500: '#9c8c22',
    950: '#000000',
  },
}
SCSS
$custom: #9c8c22;
$custom-light: #bdad66;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8c22",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 52.131,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63587,
    "c": 0.12108,
    "h": 100.2
  },
  "luminance": 0.2594
}

Semantic roles & 50–950 ramp

primary
#9C8C22
secondary
#5A67C0
accent
#56E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8C22

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

Preview Lab → · Contrast checker → · Palette generator →

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