#9C9B2A#9C9B2A

#9C9B2A is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.0% C 0.130 H 108.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9C9B2A
RGBrgb(156, 155, 42)
HSLhsl(59, 58%, 39%)
HSVhsv(59, 73%, 61%)
CMYKcmyk(0%, 0.6%, 73.1%, 38.8%)
CIE-LABlab(62.24, -13.27, 55.73)
CIE-LCHlch(62.24, 57.29, 103.39°)
OKLaboklab(66.99% -0.0423 0.1232)
OKLCHoklch(66.99% 0.13 108.9)
XYZxyz(25.8505, 30.6786, 6.7499)
Luminance0.3068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9B2A #2A2B9C
analogous
#9C622A #9C9B2A #649C2A
triadic
#9C9B2A #2A9C9B #9B2A9C
tetradic
#9C9B2A #2A9C62 #2A2B9C #9C2A64
square
#9C9B2A #2A9C62 #2A2B9C #9C2A64
split-complementary
#9C9B2A #2A649C #622A9C
monochromatic
#3C3B10 #6C6B1D #9C9B2A #CAC939 #D7D66A

Accessibility & contrast

On white

2.94
#9C9B2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#9C9B2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9B2A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9B2A#FFFFFF#000000##000000
##9C9B2A1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89415
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#A79185
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c9b2a;
/* rgb */ color: rgb(156, 155, 42);
/* oklch */ color: oklch(67.0% 0.130 108.9);
Tailwind
colors: {
  custom: {
    50: '#bdb86c',
    500: '#9c9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #9c9b2a;
$custom-light: #bdb86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9b2a",
  "rgb": {
    "r": 156,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 59.474,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66989,
    "c": 0.13021,
    "h": 108.9
  },
  "luminance": 0.30678
}

Semantic roles & 50–950 ramp

primary
#9C9B2A
secondary
#6565BD
accent
#48E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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