#9B8D26#9B8D26

#9B8D26 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.120 H 101.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9B8D26
RGBrgb(155, 141, 38)
HSLhsl(53, 61%, 38%)
HSVhsv(53, 75%, 61%)
CMYKcmyk(0%, 9%, 75.5%, 39.2%)
CIE-LABlab(58.19, -6.43, 53.31)
CIE-LCHlch(58.19, 53.70, 96.88°)
OKLaboklab(63.74% -0.0234 0.1173)
OKLCHoklch(63.74% 0.12 101.3)
XYZxyz(23.3934, 26.1593, 5.6504)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D26 #26349B
analogous
#9B5326 #9B8D26 #6E9B26
triadic
#9B8D26 #269B8D #8D269B
tetradic
#9B8D26 #269B53 #26349B #9B266E
square
#9B8D26 #269B53 #26349B #9B266E
split-complementary
#9B8D26 #266E9B #53269B
monochromatic
#39340E #6A601A #9B8D26 #CCBA32 #D9CB63

Accessibility & contrast

On white

3.37
#9B8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#9B8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D26
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D26#FFFFFF#000000##000000
##9B8D261.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8913
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#A78279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d26;
/* rgb */ color: rgb(155, 141, 38);
/* oklch */ color: oklch(63.7% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#bcae68',
    500: '#9b8d26',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d26;
$custom-light: #bcae68;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d26",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 52.821,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63736,
    "c": 0.11961,
    "h": 101.3
  },
  "luminance": 0.26158
}

Semantic roles & 50–950 ramp

primary
#9B8D26
secondary
#5F6ABE
accent
#57E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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