#9B9723#9B9723

#9B9723 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.130 H 107.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9B9723
RGBrgb(155, 151, 35)
HSLhsl(58, 63%, 37%)
HSVhsv(58, 77%, 61%)
CMYKcmyk(0%, 2.6%, 77.4%, 39.2%)
CIE-LABlab(60.98, -11.92, 56.96)
CIE-LCHlch(60.98, 58.19, 101.82°)
OKLaboklab(65.95% -0.0391 0.1245)
OKLCHoklch(65.95% 0.13 107.4)
XYZxyz(24.8886, 29.2240, 5.9196)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9723 #23279B
analogous
#9B5B23 #9B9723 #639B23
triadic
#9B9723 #239B97 #97239B
tetradic
#9B9723 #239B5B #23279B #9B2363
square
#9B9723 #239B5B #23279B #9B2363
split-complementary
#9B9723 #23639B #5B239B
monochromatic
#37360C #696618 #9B9723 #CDC82E #DBD65E

Accessibility & contrast

On white

3.07
#9B9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#9B9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9723
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9723#FFFFFF#000000##000000
##9B97231.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49105
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#A78D81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b9723;
/* rgb */ color: rgb(155, 151, 35);
/* oklch */ color: oklch(66.0% 0.130 107.4);
Tailwind
colors: {
  custom: {
    50: '#bcb568',
    500: '#9b9723',
    950: '#000000',
  },
}
SCSS
$custom: #9b9723;
$custom-light: #bcb568;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9723",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 58,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65952,
    "c": 0.13047,
    "h": 107.4
  },
  "luminance": 0.29223
}

Semantic roles & 50–950 ramp

primary
#9B9723
secondary
#5A5EBF
accent
#47E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9723

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

Preview Lab → · Contrast checker → · Palette generator →

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