#9B8A29#9B8A29

#9B8A29 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.115 H 99.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9B8A29
RGBrgb(155, 138, 41)
HSLhsl(51, 58%, 38%)
HSVhsv(51, 74%, 61%)
CMYKcmyk(0%, 11%, 73.5%, 39.2%)
CIE-LABlab(57.37, -4.65, 51.38)
CIE-LCHlch(57.37, 51.59, 95.17°)
OKLaboklab(63.1% -0.018 0.1138)
OKLCHoklch(63.1% 0.115 99)
XYZxyz(23.0074, 25.3067, 5.7702)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8A29 #293A9B
analogous
#9B5129 #9B8A29 #739B29
triadic
#9B8A29 #299B8A #8A299B
tetradic
#9B8A29 #299B51 #293A9B #9B2973
square
#9B8A29 #299B51 #293A9B #9B2973
split-complementary
#9B8A29 #29739B #51299B
monochromatic
#3A340F #6B5F1C #9B8A29 #CAB437 #D7C667

Accessibility & contrast

On white

3.46
#9B8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9B8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8A29
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8A29#FFFFFF#000000##000000
##9B8A291.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988619
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#A78077
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b8a29;
/* rgb */ color: rgb(155, 138, 41);
/* oklch */ color: oklch(63.1% 0.115 99.0);
Tailwind
colors: {
  custom: {
    50: '#bcab6a',
    500: '#9b8a29',
    950: '#000000',
  },
}
SCSS
$custom: #9b8a29;
$custom-light: #bcab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8a29",
  "rgb": {
    "r": 155,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 51.053,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63096,
    "c": 0.11522,
    "h": 99
  },
  "luminance": 0.25306
}

Semantic roles & 50–950 ramp

primary
#9B8A29
secondary
#6370BD
accent
#5EE146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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