#9B9726#9B9726

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

Color values

HEX#9B9726
RGBrgb(155, 151, 38)
HSLhsl(58, 61%, 38%)
HSVhsv(58, 75%, 61%)
CMYKcmyk(0%, 2.6%, 75.5%, 39.2%)
CIE-LABlab(61.00, -11.79, 55.95)
CIE-LCHlch(61.00, 57.18, 101.90°)
OKLaboklab(65.97% -0.0385 0.1229)
OKLCHoklch(65.97% 0.129 107.4)
XYZxyz(24.9350, 29.2426, 6.1643)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9726 #262A9B
analogous
#9B5D26 #9B9726 #649B26
triadic
#9B9726 #269B97 #97269B
tetradic
#9B9726 #269B5D #262A9B #9B2664
square
#9B9726 #269B5D #262A9B #9B2664
split-complementary
#9B9726 #26649B #5D269B
monochromatic
#39370E #6A671A #9B9726 #CCC732 #D9D563

Accessibility & contrast

On white

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

On black

6.85
#9B9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9726
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9726#FFFFFF#000000##000000
##9B97261.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910E
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#A78D82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b9726;
/* rgb */ color: rgb(155, 151, 38);
/* oklch */ color: oklch(66.0% 0.129 107.4);
Tailwind
colors: {
  custom: {
    50: '#bcb56a',
    500: '#9b9726',
    950: '#000000',
  },
}
SCSS
$custom: #9b9726;
$custom-light: #bcb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9726",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 57.949,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.12879,
    "h": 107.4
  },
  "luminance": 0.29242
}

Semantic roles & 50–950 ramp

primary
#9B9726
secondary
#5F62BE
accent
#4AE444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9726

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

Preview Lab → · Contrast checker → · Palette generator →

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