#9B9623#9B9623

#9B9623 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.130 H 106.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9B9623
RGBrgb(155, 150, 35)
HSLhsl(58, 63%, 37%)
HSVhsv(58, 77%, 61%)
CMYKcmyk(0%, 3.2%, 77.4%, 39.2%)
CIE-LABlab(60.70, -11.39, 56.70)
CIE-LCHlch(60.70, 57.83, 101.36°)
OKLaboklab(65.73% -0.0376 0.1239)
OKLCHoklch(65.73% 0.13 106.9)
XYZxyz(24.7283, 28.9035, 5.8661)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9623 #23289B
analogous
#9B5A23 #9B9623 #649B23
triadic
#9B9623 #239B96 #96239B
tetradic
#9B9623 #239B5A #23289B #9B2364
square
#9B9623 #239B5A #23289B #9B2364
split-complementary
#9B9623 #23649B #5A239B
monochromatic
#37350C #696618 #9B9623 #CDC62E #DBD55E

Accessibility & contrast

On white

3.10
#9B9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#9B9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9623
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9623#FFFFFF#000000##000000
##9B96231.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39006
Deuteranopia (green-blind)
#A6942C
Tritanopia (blue-blind)
#A78C80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9623;
/* rgb */ color: rgb(155, 150, 35);
/* oklch */ color: oklch(65.7% 0.130 106.9);
Tailwind
colors: {
  custom: {
    50: '#bcb468',
    500: '#9b9623',
    950: '#000000',
  },
}
SCSS
$custom: #9b9623;
$custom-light: #bcb468;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9623",
  "rgb": {
    "r": 155,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 57.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65727,
    "c": 0.1295,
    "h": 106.9
  },
  "luminance": 0.28903
}

Semantic roles & 50–950 ramp

primary
#9B9623
secondary
#5A5FBF
accent
#48E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9623

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

Preview Lab → · Contrast checker → · Palette generator →

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