#9C9E1A#9C9E1A

#9C9E1A is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.6% C 0.141 H 110.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9C9E1A
RGBrgb(156, 158, 26)
HSLhsl(61, 72%, 36%)
HSVhsv(61, 84%, 62%)
CMYKcmyk(1.3%, 0%, 83.5%, 38%)
CIE-LABlab(63.01, -15.46, 61.41)
CIE-LCHlch(63.01, 63.32, 104.13°)
OKLaboklab(67.58% -0.0497 0.1323)
OKLCHoklch(67.58% 0.141 110.6)
XYZxyz(26.1246, 31.5970, 5.6998)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9E1A #1C1A9E
analogous
#9E5E1A #9C9E1A #5A9E1A
triadic
#9C9E1A #1A9C9E #9E1A9C
tetradic
#9C9E1A #1A9E5E #1C1A9E #9E1A5A
square
#9C9E1A #1A9E5E #1C1A9E #9E1A5A
split-complementary
#9C9E1A #1A5A9E #5E1A9E
monochromatic
#343509 #686911 #9C9E1A #D0D323 #E0E250

Accessibility & contrast

On white

2.87
#9C9E1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#9C9E1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9E1A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9E1A#FFFFFF#000000##000000
##9C9E1A1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A28
Tritanopia (blue-blind)
#A89387
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c9e1a;
/* rgb */ color: rgb(156, 158, 26);
/* oklch */ color: oklch(67.6% 0.141 110.6);
Tailwind
colors: {
  custom: {
    50: '#bdba65',
    500: '#9c9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #9c9e1a;
$custom-light: #bdba65;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9e1a",
  "rgb": {
    "r": 156,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 60.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.67582,
    "c": 0.14133,
    "h": 110.6
  },
  "luminance": 0.31596
}

Semantic roles & 50–950 ramp

primary
#9C9E1A
secondary
#514FC5
accent
#39EE3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9C9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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