#9C9C2A#9C9C2A

#9C9C2A is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.2% C 0.131 H 109.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9C9C2A
RGBrgb(156, 156, 42)
HSLhsl(60, 58%, 39%)
HSVhsv(60, 73%, 61%)
CMYKcmyk(0%, 0%, 73.1%, 38.8%)
CIE-LABlab(62.52, -13.79, 56.01)
CIE-LCHlch(62.52, 57.68, 103.84°)
OKLaboklab(67.22% -0.0437 0.1237)
OKLCHoklch(67.22% 0.131 109.5)
XYZxyz(26.0176, 31.0128, 6.8056)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9C2A #2A2A9C
analogous
#9C632A #9C9C2A #639C2A
triadic
#9C9C2A #2A9C9C #9C2A9C
tetradic
#9C9C2A #2A9C63 #2A2A9C #9C2A63
square
#9C9C2A #2A9C63 #2A2A9C #9C2A63
split-complementary
#9C9C2A #2A639C #632A9C
monochromatic
#3C3C10 #6C6C1D #9C9C2A #CACA39 #D7D76A

Accessibility & contrast

On white

2.92
#9C9C2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#9C9C2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9C2A
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9C2A#FFFFFF#000000##000000
##9C9C2A1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99514
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#A79286
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9c9c2a;
/* rgb */ color: rgb(156, 156, 42);
/* oklch */ color: oklch(67.2% 0.131 109.5);
Tailwind
colors: {
  custom: {
    50: '#bdb96c',
    500: '#9c9c2a',
    950: '#000000',
  },
}
SCSS
$custom: #9c9c2a;
$custom-light: #bdb96c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9c2a",
  "rgb": {
    "r": 156,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67215,
    "c": 0.13123,
    "h": 109.5
  },
  "luminance": 0.31012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C9C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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