#9B9D23#9B9D23

#9B9D23 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.136 H 110.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9B9D23
RGBrgb(155, 157, 35)
HSLhsl(61, 64%, 38%)
HSVhsv(61, 78%, 62%)
CMYKcmyk(1.3%, 0%, 77.7%, 38.4%)
CIE-LABlab(62.68, -15.07, 58.51)
CIE-LCHlch(62.68, 60.42, 104.44°)
OKLaboklab(67.31% -0.0479 0.1278)
OKLCHoklch(67.31% 0.136 110.5)
XYZxyz(25.8789, 31.2046, 6.2497)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9D23 #25239D
analogous
#9D6223 #9B9D23 #5E9D23
triadic
#9B9D23 #239B9D #9D239B
tetradic
#9B9D23 #239D62 #25239D #9D235E
square
#9B9D23 #239D62 #25239D #9D235E
split-complementary
#9B9D23 #235E9D #62239D
monochromatic
#38390D #6A6B18 #9B9D23 #CCCF2E #D9DB5F

Accessibility & contrast

On white

2.90
#9B9D23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#9B9D23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9D23
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9D23#FFFFFF#000000##000000
##9B9D231.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9601
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#A69386
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9b9d23;
/* rgb */ color: rgb(155, 157, 35);
/* oklch */ color: oklch(67.3% 0.136 110.5);
Tailwind
colors: {
  custom: {
    50: '#bcb969',
    500: '#9b9d23',
    950: '#000000',
  },
}
SCSS
$custom: #9b9d23;
$custom-light: #bcb969;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9d23",
  "rgb": {
    "r": 155,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 60.984,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67311,
    "c": 0.13644,
    "h": 110.5
  },
  "luminance": 0.31204
}

Semantic roles & 50–950 ramp

primary
#9B9D23
secondary
#5D5CC0
accent
#41E744
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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