#9B9626#9B9626

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

Color values

HEX#9B9626
RGBrgb(155, 150, 38)
HSLhsl(57, 61%, 38%)
HSVhsv(57, 75%, 61%)
CMYKcmyk(0%, 3.2%, 75.5%, 39.2%)
CIE-LABlab(60.71, -11.26, 55.69)
CIE-LCHlch(60.71, 56.82, 101.43°)
OKLaboklab(65.75% -0.037 0.1224)
OKLCHoklch(65.75% 0.128 106.8)
XYZxyz(24.7748, 28.9221, 6.1108)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9626 #262B9B
analogous
#9B5B26 #9B9626 #659B26
triadic
#9B9626 #269B96 #96269B
tetradic
#9B9626 #269B5B #262B9B #9B2665
square
#9B9626 #269B5B #262B9B #9B2665
split-complementary
#9B9626 #26659B #5B269B
monochromatic
#39370E #6A661A #9B9626 #CCC632 #D9D463

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9626#FFFFFF#000000##000000
##9B96261.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)
#A3900E
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#A78C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9626;
/* rgb */ color: rgb(155, 150, 38);
/* oklch */ color: oklch(65.7% 0.128 106.8);
Tailwind
colors: {
  custom: {
    50: '#bcb469',
    500: '#9b9626',
    950: '#000000',
  },
}
SCSS
$custom: #9b9626;
$custom-light: #bcb469;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9626",
  "rgb": {
    "r": 155,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 57.436,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65745,
    "c": 0.12782,
    "h": 106.8
  },
  "luminance": 0.28921
}

Semantic roles & 50–950 ramp

primary
#9B9626
secondary
#5F63BE
accent
#4BE444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9626

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

Preview Lab → · Contrast checker → · Palette generator →

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