#9B9426#9B9426

#9B9426 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.3% C 0.126 H 105.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9B9426
RGBrgb(155, 148, 38)
HSLhsl(56, 61%, 38%)
HSVhsv(56, 75%, 61%)
CMYKcmyk(0%, 4.5%, 75.5%, 39.2%)
CIE-LABlab(60.15, -10.20, 55.16)
CIE-LCHlch(60.15, 56.10, 100.48°)
OKLaboklab(65.3% -0.034 0.1212)
OKLCHoklch(65.3% 0.126 105.7)
XYZxyz(24.4583, 28.2892, 6.0054)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9426 #262D9B
analogous
#9B5926 #9B9426 #689B26
triadic
#9B9426 #269B94 #94269B
tetradic
#9B9426 #269B59 #262D9B #9B2668
square
#9B9426 #269B59 #262D9B #9B2668
split-complementary
#9B9426 #26689B #59269B
monochromatic
#39360E #6A651A #9B9426 #CCC332 #D9D263

Accessibility & contrast

On white

3.15
#9B9426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#9B9426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9426
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9426#FFFFFF#000000##000000
##9B94261.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0F
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#A78A7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9b9426;
/* rgb */ color: rgb(155, 148, 38);
/* oklch */ color: oklch(65.3% 0.126 105.7);
Tailwind
colors: {
  custom: {
    50: '#bcb369',
    500: '#9b9426',
    950: '#000000',
  },
}
SCSS
$custom: #9b9426;
$custom-light: #bcb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9426",
  "rgb": {
    "r": 155,
    "g": 148,
    "b": 38
  },
  "hsl": {
    "h": 56.41,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65296,
    "c": 0.12591,
    "h": 105.7
  },
  "luminance": 0.28288
}

Semantic roles & 50–950 ramp

primary
#9B9426
secondary
#5F64BE
accent
#4EE444
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9426

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

Preview Lab → · Contrast checker → · Palette generator →

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