#9B9422#9B9422

#9B9422 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.3% C 0.128 H 105.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9B9422
RGBrgb(155, 148, 34)
HSLhsl(57, 64%, 37%)
HSVhsv(57, 78%, 61%)
CMYKcmyk(0%, 4.5%, 78.1%, 39.2%)
CIE-LABlab(60.13, -10.37, 56.51)
CIE-LCHlch(60.13, 57.45, 100.40°)
OKLaboklab(65.27% -0.0348 0.1233)
OKLCHoklch(65.27% 0.128 105.8)
XYZxyz(24.3972, 28.2648, 5.6836)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9422 #22299B
analogous
#9B5822 #9B9422 #669B22
triadic
#9B9422 #229B94 #94229B
tetradic
#9B9422 #229B58 #22299B #9B2266
square
#9B9422 #229B58 #22299B #9B2266
split-complementary
#9B9422 #22669B #58229B
monochromatic
#37340C #696417 #9B9422 #CDC42D #DBD45C

Accessibility & contrast

On white

3.16
#9B9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#9B9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9422
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9422#FFFFFF#000000##000000
##9B94221.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E04
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#A78A7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9b9422;
/* rgb */ color: rgb(155, 148, 34);
/* oklch */ color: oklch(65.3% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#bcb367',
    500: '#9b9422',
    950: '#000000',
  },
}
SCSS
$custom: #9b9422;
$custom-light: #bcb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9422",
  "rgb": {
    "r": 155,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 56.529,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65272,
    "c": 0.12815,
    "h": 105.8
  },
  "luminance": 0.28264
}

Semantic roles & 50–950 ramp

primary
#9B9422
secondary
#595FC0
accent
#4AE741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B9422

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

Preview Lab → · Contrast checker → · Palette generator →

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