#9B9E1A#9B9E1A

#9B9E1A is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.5% C 0.142 H 111.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9B9E1A
RGBrgb(155, 158, 26)
HSLhsl(61, 72%, 36%)
HSVhsv(61, 84%, 62%)
CMYKcmyk(1.9%, 0%, 83.5%, 38%)
CIE-LABlab(62.93, -15.91, 61.30)
CIE-LCHlch(62.93, 63.33, 104.55°)
OKLaboklab(67.5% -0.0509 0.1321)
OKLCHoklch(67.5% 0.142 111.1)
XYZxyz(25.9318, 31.4976, 5.6907)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9E1A #1D1A9E
analogous
#9E5F1A #9B9E1A #599E1A
triadic
#9B9E1A #1A9B9E #9E1A9B
tetradic
#9B9E1A #1A9E5F #1D1A9E #9E1A59
square
#9B9E1A #1A9E5F #1D1A9E #9E1A59
split-complementary
#9B9E1A #1A599E #5F1A9E
monochromatic
#343509 #676911 #9B9E1A #CFD323 #DFE250

Accessibility & contrast

On white

2.88
#9B9E1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#9B9E1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9E1A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9E1A#FFFFFF#000000##000000
##9B9E1A1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9e1a;
/* rgb */ color: rgb(155, 158, 26);
/* oklch */ color: oklch(67.5% 0.142 111.1);
Tailwind
colors: {
  custom: {
    50: '#bcba65',
    500: '#9b9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #9b9e1a;
$custom-light: #bcba65;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9e1a",
  "rgb": {
    "r": 155,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 61.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.67495,
    "c": 0.14158,
    "h": 111.1
  },
  "luminance": 0.31497
}

Semantic roles & 50–950 ramp

primary
#9B9E1A
secondary
#524FC5
accent
#39EE3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9B9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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