#9C9D22#9C9D22

#9C9D22 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.4% C 0.137 H 110.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9C9D22
RGBrgb(156, 157, 34)
HSLhsl(60, 64%, 37%)
HSVhsv(60, 78%, 62%)
CMYKcmyk(0.6%, 0%, 78.3%, 38.4%)
CIE-LABlab(62.76, -14.66, 58.92)
CIE-LCHlch(62.76, 60.72, 103.98°)
OKLaboklab(67.39% -0.0469 0.1284)
OKLCHoklch(67.39% 0.137 110.1)
XYZxyz(26.0570, 31.2981, 6.1816)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9D22 #23229D
analogous
#9D6122 #9C9D22 #5E9D22
triadic
#9C9D22 #229C9D #9D229C
tetradic
#9C9D22 #229D61 #23229D #9D225E
square
#9C9D22 #229D61 #23229D #9D225E
split-complementary
#9C9D22 #225E9D #61229D
monochromatic
#38380C #6A6B17 #9C9D22 #CECF2D #DBDC5D

Accessibility & contrast

On white

2.89
#9C9D22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#9C9D22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9D22
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9D22#FFFFFF#000000##000000
##9C9D221.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992D
Tritanopia (blue-blind)
#A79386
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c9d22;
/* rgb */ color: rgb(156, 157, 34);
/* oklch */ color: oklch(67.4% 0.137 110.1);
Tailwind
colors: {
  custom: {
    50: '#bdb968',
    500: '#9c9d22',
    950: '#000000',
  },
}
SCSS
$custom: #9c9d22;
$custom-light: #bdb968;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9d22",
  "rgb": {
    "r": 156,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 60.488,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67393,
    "c": 0.13672,
    "h": 110.1
  },
  "luminance": 0.31297
}

Semantic roles & 50–950 ramp

primary
#9C9D22
secondary
#5B5AC1
accent
#40E742
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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