#9B8829#9B8829

#9B8829 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.7% C 0.114 H 97.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9B8829
RGBrgb(155, 136, 41)
HSLhsl(50, 58%, 38%)
HSVhsv(50, 74%, 61%)
CMYKcmyk(0%, 12.3%, 73.5%, 39.2%)
CIE-LABlab(56.82, -3.55, 50.84)
CIE-LCHlch(56.82, 50.97, 94.00°)
OKLaboklab(62.66% -0.0149 0.1127)
OKLCHoklch(62.66% 0.114 97.5)
XYZxyz(22.7231, 24.7381, 5.6754)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8829 #293C9B
analogous
#9B4F29 #9B8829 #759B29
triadic
#9B8829 #299B88 #88299B
tetradic
#9B8829 #299B4F #293C9B #9B2975
square
#9B8829 #299B4F #293C9B #9B2975
split-complementary
#9B8829 #29759B #4F299B
monochromatic
#3A330F #6B5E1C #9B8829 #CAB237 #D7C467

Accessibility & contrast

On white

3.53
#9B8829 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9B8829 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8829
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8829#FFFFFF#000000##000000
##9B88291.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851A
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#A77D75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b8829;
/* rgb */ color: rgb(155, 136, 41);
/* oklch */ color: oklch(62.7% 0.114 97.5);
Tailwind
colors: {
  custom: {
    50: '#bcaa69',
    500: '#9b8829',
    950: '#000000',
  },
}
SCSS
$custom: #9b8829;
$custom-light: #bcaa69;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8829",
  "rgb": {
    "r": 155,
    "g": 136,
    "b": 41
  },
  "hsl": {
    "h": 50,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62657,
    "c": 0.11363,
    "h": 97.5
  },
  "luminance": 0.24737
}

Semantic roles & 50–950 ramp

primary
#9B8829
secondary
#6372BD
accent
#60E146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8829

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

Preview Lab → · Contrast checker → · Palette generator →

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