#9B8926#9B8926

#9B8926 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.116 H 98.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9B8926
RGBrgb(155, 137, 38)
HSLhsl(51, 61%, 38%)
HSVhsv(51, 75%, 61%)
CMYKcmyk(0%, 11.6%, 75.5%, 39.2%)
CIE-LABlab(57.08, -4.25, 52.25)
CIE-LCHlch(57.08, 52.43, 94.65°)
OKLaboklab(62.86% -0.0172 0.1151)
OKLCHoklch(62.86% 0.116 98.5)
XYZxyz(22.8142, 25.0010, 5.4573)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8926 #26389B
analogous
#9B4E26 #9B8926 #739B26
triadic
#9B8926 #269B89 #89269B
tetradic
#9B8926 #269B4E #26389B #9B2673
square
#9B8926 #269B4E #26389B #9B2673
split-complementary
#9B8926 #26739B #4E269B
monochromatic
#39320E #6A5E1A #9B8926 #CCB432 #D9C763

Accessibility & contrast

On white

3.50
#9B8926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9B8926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8926
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8926#FFFFFF#000000##000000
##9B89261.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978514
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#A77E76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b8926;
/* rgb */ color: rgb(155, 137, 38);
/* oklch */ color: oklch(62.9% 0.116 98.5);
Tailwind
colors: {
  custom: {
    50: '#bcab68',
    500: '#9b8926',
    950: '#000000',
  },
}
SCSS
$custom: #9b8926;
$custom-light: #bcab68;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8926",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 50.769,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62855,
    "c": 0.11633,
    "h": 98.5
  },
  "luminance": 0.25
}

Semantic roles & 50–950 ramp

primary
#9B8926
secondary
#5F6DBE
accent
#5DE444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B8926

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

Preview Lab → · Contrast checker → · Palette generator →

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