#9B9E22#9B9E22

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

Color values

HEX#9B9E22
RGBrgb(155, 158, 34)
HSLhsl(61, 65%, 38%)
HSVhsv(61, 78%, 62%)
CMYKcmyk(1.9%, 0%, 78.5%, 38%)
CIE-LABlab(62.96, -15.63, 59.07)
CIE-LCHlch(62.96, 61.10, 104.82°)
OKLaboklab(67.53% -0.0495 0.1288)
OKLCHoklch(67.53% 0.138 111)
XYZxyz(26.0341, 31.5385, 6.2292)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9E22 #25229E
analogous
#9E6322 #9B9E22 #5D9E22
triadic
#9B9E22 #229B9E #9E229B
tetradic
#9B9E22 #229E63 #25229E #9E225D
square
#9B9E22 #229E63 #25229E #9E225D
split-complementary
#9B9E22 #225D9E #63229E
monochromatic
#38390C #6A6C17 #9B9E22 #CCD02D #D9DC5E

Accessibility & contrast

On white

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

On black

7.31
#9B9E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9E22
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9E22#FFFFFF#000000##000000
##9B9E221.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9e22;
/* rgb */ color: rgb(155, 158, 34);
/* oklch */ color: oklch(67.5% 0.138 111.0);
Tailwind
colors: {
  custom: {
    50: '#bcba69',
    500: '#9b9e22',
    950: '#000000',
  },
}
SCSS
$custom: #9b9e22;
$custom-light: #bcba69;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9e22",
  "rgb": {
    "r": 155,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 61.452,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67533,
    "c": 0.13798,
    "h": 111
  },
  "luminance": 0.31538
}

Semantic roles & 50–950 ramp

primary
#9B9E22
secondary
#5D5BC1
accent
#40E844
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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