#9B8D29#9B8D29

#9B8D29 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.118 H 101.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9B8D29
RGBrgb(155, 141, 41)
HSLhsl(53, 58%, 38%)
HSVhsv(53, 74%, 61%)
CMYKcmyk(0%, 9%, 73.5%, 39.2%)
CIE-LABlab(58.21, -6.29, 52.19)
CIE-LCHlch(58.21, 52.57, 96.87°)
OKLaboklab(63.76% -0.0227 0.1155)
OKLCHoklch(63.76% 0.118 101.1)
XYZxyz(23.4438, 26.1795, 5.9157)
Luminance0.2618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D29 #29379B
analogous
#9B5429 #9B8D29 #709B29
triadic
#9B8D29 #299B8D #8D299B
tetradic
#9B8D29 #299B54 #29379B #9B2970
square
#9B8D29 #299B54 #29379B #9B2970
split-complementary
#9B8D29 #29709B #54299B
monochromatic
#3A350F #6B611C #9B8D29 #CAB837 #D7C967

Accessibility & contrast

On white

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

On black

6.24
#9B8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D29
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D29#FFFFFF#000000##000000
##9B8D291.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#9F8E30
Tritanopia (blue-blind)
#A78379
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d29;
/* rgb */ color: rgb(155, 141, 41);
/* oklch */ color: oklch(63.8% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#bcae6a',
    500: '#9b8d29',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d29;
$custom-light: #bcae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d29",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 52.632,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63758,
    "c": 0.11772,
    "h": 101.1
  },
  "luminance": 0.26178
}

Semantic roles & 50–950 ramp

primary
#9B8D29
secondary
#636EBD
accent
#59E146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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