#9C9D2B#9C9D2B

#9C9D2B is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.4% C 0.132 H 110.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9C9D2B
RGBrgb(156, 157, 43)
HSLhsl(61, 57%, 39%)
HSVhsv(61, 73%, 62%)
CMYKcmyk(0.6%, 0%, 72.6%, 38.4%)
CIE-LABlab(62.81, -14.27, 55.92)
CIE-LCHlch(62.81, 57.71, 104.31°)
OKLaboklab(67.45% -0.045 0.1237)
OKLCHoklch(67.45% 0.132 110)
XYZxyz(26.2042, 31.3570, 6.9572)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9D2B #2C2B9D
analogous
#9D652B #9C9D2B #639D2B
triadic
#9C9D2B #2B9C9D #9D2B9C
tetradic
#9C9D2B #2B9D65 #2C2B9D #9D2B63
square
#9C9D2B #2B9D65 #2C2B9D #9D2B63
split-complementary
#9C9D2B #2B639D #652B9D
monochromatic
#3D3D11 #6C6D1E #9C9D2B #C8CA3C #D6D76C

Accessibility & contrast

On white

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

On black

7.27
#9C9D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9D2B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9D2B#FFFFFF#000000##000000
##9C9D2B1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9616
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#A79387
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c9d2b;
/* rgb */ color: rgb(156, 157, 43);
/* oklch */ color: oklch(67.4% 0.132 110.0);
Tailwind
colors: {
  custom: {
    50: '#bcb96d',
    500: '#9c9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #9c9d2b;
$custom-light: #bcb96d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9d2b",
  "rgb": {
    "r": 156,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 60.526,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67448,
    "c": 0.13165,
    "h": 110
  },
  "luminance": 0.31356
}

Semantic roles & 50–950 ramp

primary
#9C9D2B
secondary
#6766BD
accent
#48E049
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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