#9B9423#9B9423

#9B9423 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#9B9423
RGBrgb(155, 148, 35)
HSLhsl(57, 63%, 37%)
HSVhsv(57, 77%, 61%)
CMYKcmyk(0%, 4.5%, 77.4%, 39.2%)
CIE-LABlab(60.13, -10.33, 56.18)
CIE-LCHlch(60.13, 57.12, 100.42°)
OKLaboklab(65.28% -0.0346 0.1228)
OKLCHoklch(65.28% 0.128 105.8)
XYZxyz(24.4119, 28.2707, 5.7607)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9423 #232A9B
analogous
#9B5823 #9B9423 #669B23
triadic
#9B9423 #239B94 #94239B
tetradic
#9B9423 #239B58 #232A9B #9B2366
square
#9B9423 #239B58 #232A9B #9B2366
split-complementary
#9B9423 #23669B #58239B
monochromatic
#37350C #696418 #9B9423 #CDC42E #DBD35E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9423#FFFFFF#000000##000000
##9B94231.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)
#A18E07
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#A78A7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9b9423;
/* rgb */ color: rgb(155, 148, 35);
/* oklch */ color: oklch(65.3% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#bcb368',
    500: '#9b9423',
    950: '#000000',
  },
}
SCSS
$custom: #9b9423;
$custom-light: #bcb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9423",
  "rgb": {
    "r": 155,
    "g": 148,
    "b": 35
  },
  "hsl": {
    "h": 56.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65278,
    "c": 0.1276,
    "h": 105.8
  },
  "luminance": 0.2827
}

Semantic roles & 50–950 ramp

primary
#9B9423
secondary
#5A60BF
accent
#4BE642
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9423

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

Preview Lab → · Contrast checker → · Palette generator →

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