#9C8F22#9C8F22

#9C8F22 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.124 H 102.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C8F22
RGBrgb(156, 143, 34)
HSLhsl(54, 64%, 37%)
HSVhsv(54, 78%, 61%)
CMYKcmyk(0%, 8.3%, 78.2%, 38.8%)
CIE-LABlab(58.82, -7.23, 55.35)
CIE-LCHlch(58.82, 55.82, 97.45°)
OKLaboklab(64.25% -0.0261 0.1208)
OKLCHoklch(64.25% 0.124 102.2)
XYZxyz(23.8226, 26.8294, 5.4368)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F22 #222F9C
analogous
#9C5222 #9C8F22 #6C9C22
triadic
#9C8F22 #229C8F #8F229C
tetradic
#9C8F22 #229C52 #222F9C #9C226C
square
#9C8F22 #229C52 #222F9C #9C226C
split-complementary
#9C8F22 #226C9C #52229C
monochromatic
#38330C #6A6117 #9C8F22 #CEBD2D #DCCE5D

Accessibility & contrast

On white

3.30
#9C8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#9C8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F22
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F22#FFFFFF#000000##000000
##9C8F221.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A08
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#A8847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8f22;
/* rgb */ color: rgb(156, 143, 34);
/* oklch */ color: oklch(64.3% 0.124 102.2);
Tailwind
colors: {
  custom: {
    50: '#bdaf67',
    500: '#9c8f22',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f22;
$custom-light: #bdaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f22",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 53.607,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.6425,
    "c": 0.12358,
    "h": 102.2
  },
  "luminance": 0.26828
}

Semantic roles & 50–950 ramp

primary
#9C8F22
secondary
#5A65C0
accent
#52E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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