#9B8626#9B8626

#9B8626 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.114 H 96.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9B8626
RGBrgb(155, 134, 38)
HSLhsl(49, 61%, 38%)
HSVhsv(49, 75%, 61%)
CMYKcmyk(0%, 13.5%, 75.5%, 39.2%)
CIE-LABlab(56.25, -2.60, 51.46)
CIE-LCHlch(56.25, 51.53, 92.89°)
OKLaboklab(62.2% -0.0125 0.1134)
OKLCHoklch(62.2% 0.114 96.3)
XYZxyz(22.3937, 24.1599, 5.3171)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8626 #263B9B
analogous
#9B4C26 #9B8626 #759B26
triadic
#9B8626 #269B86 #86269B
tetradic
#9B8626 #269B4C #263B9B #9B2675
square
#9B8626 #269B4C #263B9B #9B2675
split-complementary
#9B8626 #26759B #4C269B
monochromatic
#39310E #6A5C1A #9B8626 #CCB032 #D9C463

Accessibility & contrast

On white

3.60
#9B8626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9B8626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8626
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8626#FFFFFF#000000##000000
##9B86261.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948315
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#A87B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b8626;
/* rgb */ color: rgb(155, 134, 38);
/* oklch */ color: oklch(62.2% 0.114 96.3);
Tailwind
colors: {
  custom: {
    50: '#bca868',
    500: '#9b8626',
    950: '#000000',
  },
}
SCSS
$custom: #9b8626;
$custom-light: #bca868;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8626",
  "rgb": {
    "r": 155,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 49.231,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62198,
    "c": 0.11406,
    "h": 96.3
  },
  "luminance": 0.24159
}

Semantic roles & 50–950 ramp

primary
#9B8626
secondary
#5F70BE
accent
#61E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9B8626

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

Preview Lab → · Contrast checker → · Palette generator →

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