#9C8D22#9C8D22

#9C8D22 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.122 H 100.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9C8D22
RGBrgb(156, 141, 34)
HSLhsl(53, 64%, 37%)
HSVhsv(53, 78%, 61%)
CMYKcmyk(0%, 9.6%, 78.2%, 38.8%)
CIE-LABlab(58.26, -6.15, 54.84)
CIE-LCHlch(58.26, 55.18, 96.40°)
OKLaboklab(63.81% -0.023 0.1197)
OKLCHoklch(63.81% 0.122 100.9)
XYZxyz(23.5250, 26.2343, 5.3376)
Luminance0.2623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D22 #22319C
analogous
#9C5022 #9C8D22 #6E9C22
triadic
#9C8D22 #229C8D #8D229C
tetradic
#9C8D22 #229C50 #22319C #9C226E
square
#9C8D22 #229C50 #22319C #9C226E
split-complementary
#9C8D22 #226E9C #50229C
monochromatic
#38320C #6A6017 #9C8D22 #CEBA2D #DCCC5D

Accessibility & contrast

On white

3.36
#9C8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9C8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D22
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D22#FFFFFF#000000##000000
##9C8D221.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8909
Deuteranopia (green-blind)
#9F8F2A
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d22;
/* rgb */ color: rgb(156, 141, 34);
/* oklch */ color: oklch(63.8% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#bdae66',
    500: '#9c8d22',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d22;
$custom-light: #bdae66;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d22",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 52.623,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63808,
    "c": 0.1219,
    "h": 100.9
  },
  "luminance": 0.26233
}

Semantic roles & 50–950 ramp

primary
#9C8D22
secondary
#5A66C0
accent
#55E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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