#9B8629#9B8629

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

Color values

HEX#9B8629
RGBrgb(155, 134, 41)
HSLhsl(49, 58%, 38%)
HSVhsv(49, 74%, 61%)
CMYKcmyk(0%, 13.5%, 73.5%, 39.2%)
CIE-LABlab(56.27, -2.45, 50.30)
CIE-LCHlch(56.27, 50.36, 92.79°)
OKLaboklab(62.22% -0.0118 0.1115)
OKLCHoklch(62.22% 0.112 96)
XYZxyz(22.4440, 24.1800, 5.5824)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8629 #293E9B
analogous
#9B4D29 #9B8629 #779B29
triadic
#9B8629 #299B86 #86299B
tetradic
#9B8629 #299B4D #293E9B #9B2977
square
#9B8629 #299B4D #293E9B #9B2977
split-complementary
#9B8629 #29779B #4D299B
monochromatic
#3A320F #6B5C1C #9B8629 #CAAF37 #D7C267

Accessibility & contrast

On white

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

On black

5.84
#9B8629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8629
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8629#FFFFFF#000000##000000
##9B86291.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#998A2E
Tritanopia (blue-blind)
#A87B74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b8629;
/* rgb */ color: rgb(155, 134, 41);
/* oklch */ color: oklch(62.2% 0.112 96.0);
Tailwind
colors: {
  custom: {
    50: '#bca869',
    500: '#9b8629',
    950: '#000000',
  },
}
SCSS
$custom: #9b8629;
$custom-light: #bca869;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8629",
  "rgb": {
    "r": 155,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 48.947,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6222,
    "c": 0.11213,
    "h": 96
  },
  "luminance": 0.24179
}

Semantic roles & 50–950 ramp

primary
#9B8629
secondary
#6373BD
accent
#63E146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9B8629

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

Preview Lab → · Contrast checker → · Palette generator →

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