#9B9C2A#9B9C2A

#9B9C2A is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.1% C 0.131 H 110.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9B9C2A
RGBrgb(155, 156, 42)
HSLhsl(61, 58%, 39%)
HSVhsv(61, 73%, 61%)
CMYKcmyk(0.6%, 0%, 73.1%, 38.8%)
CIE-LABlab(62.43, -14.23, 55.90)
CIE-LCHlch(62.43, 57.68, 104.29°)
OKLaboklab(67.13% -0.0449 0.1235)
OKLCHoklch(67.13% 0.131 110)
XYZxyz(25.8249, 30.9134, 6.7966)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9C2A #2B2A9C
analogous
#9C642A #9B9C2A #629C2A
triadic
#9B9C2A #2A9B9C #9C2A9B
tetradic
#9B9C2A #2A9C64 #2B2A9C #9C2A62
square
#9B9C2A #2A9C64 #2B2A9C #9C2A62
split-complementary
#9B9C2A #2A629C #642A9C
monochromatic
#3B3C10 #6B6C1D #9B9C2A #C9CA39 #D6D76A

Accessibility & contrast

On white

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

On black

7.18
#9B9C2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9C2A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9C2A#FFFFFF#000000##000000
##9B9C2A1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9c2a;
/* rgb */ color: rgb(155, 156, 42);
/* oklch */ color: oklch(67.1% 0.131 110.0);
Tailwind
colors: {
  custom: {
    50: '#bcb96c',
    500: '#9b9c2a',
    950: '#000000',
  },
}
SCSS
$custom: #9b9c2a;
$custom-light: #bcb96c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9c2a",
  "rgb": {
    "r": 155,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 60.526,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67127,
    "c": 0.13144,
    "h": 110
  },
  "luminance": 0.30913
}

Semantic roles & 50–950 ramp

primary
#9B9C2A
secondary
#6565BD
accent
#47E148
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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