#9B9223#9B9223

#9B9223 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.8% C 0.126 H 104.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9B9223
RGBrgb(155, 146, 35)
HSLhsl(56, 63%, 37%)
HSVhsv(56, 77%, 61%)
CMYKcmyk(0%, 5.8%, 77.4%, 39.2%)
CIE-LABlab(59.57, -9.26, 55.66)
CIE-LCHlch(59.57, 56.43, 99.45°)
OKLaboklab(64.83% -0.0316 0.1217)
OKLCHoklch(64.83% 0.126 104.6)
XYZxyz(24.1009, 27.6487, 5.6570)
Luminance0.2765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9223 #232C9B
analogous
#9B5623 #9B9223 #689B23
triadic
#9B9223 #239B92 #92239B
tetradic
#9B9223 #239B56 #232C9B #9B2368
square
#9B9223 #239B56 #232C9B #9B2368
split-complementary
#9B9223 #23689B #56239B
monochromatic
#37340C #696318 #9B9223 #CDC12E #DBD15E

Accessibility & contrast

On white

3.22
#9B9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#9B9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9223
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9223#FFFFFF#000000##000000
##9B92231.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D08
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#A7887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b9223;
/* rgb */ color: rgb(155, 146, 35);
/* oklch */ color: oklch(64.8% 0.126 104.6);
Tailwind
colors: {
  custom: {
    50: '#bcb167',
    500: '#9b9223',
    950: '#000000',
  },
}
SCSS
$custom: #9b9223;
$custom-light: #bcb167;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9223",
  "rgb": {
    "r": 155,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 55.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.6483,
    "c": 0.12576,
    "h": 104.6
  },
  "luminance": 0.27648
}

Semantic roles & 50–950 ramp

primary
#9B9223
secondary
#5A62BF
accent
#4EE642
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B9223

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

Preview Lab → · Contrast checker → · Palette generator →

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