#9B8625#9B8625

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

Color values

HEX#9B8625
RGBrgb(155, 134, 37)
HSLhsl(49, 61%, 38%)
HSVhsv(49, 76%, 61%)
CMYKcmyk(0%, 13.5%, 76.1%, 39.2%)
CIE-LABlab(56.24, -2.64, 51.84)
CIE-LCHlch(56.24, 51.90, 92.92°)
OKLaboklab(62.19% -0.0127 0.114)
OKLCHoklch(62.19% 0.115 96.4)
XYZxyz(22.3778, 24.1535, 5.2333)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8625 #253A9B
analogous
#9B4B25 #9B8625 #759B25
triadic
#9B8625 #259B86 #86259B
tetradic
#9B8625 #259B4B #253A9B #9B2575
square
#9B8625 #259B4B #253A9B #9B2575
split-complementary
#9B8625 #25759B #4B259B
monochromatic
#38310D #6A5B19 #9B8625 #CCB131 #D9C461

Accessibility & contrast

On white

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

On black

5.83
#9B8625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8625
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8625#FFFFFF#000000##000000
##9B86251.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948313
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#A87B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b8625;
/* rgb */ color: rgb(155, 134, 37);
/* oklch */ color: oklch(62.2% 0.115 96.4);
Tailwind
colors: {
  custom: {
    50: '#bca867',
    500: '#9b8625',
    950: '#000000',
  },
}
SCSS
$custom: #9b8625;
$custom-light: #bca867;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8625",
  "rgb": {
    "r": 155,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 49.322,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62191,
    "c": 0.11468,
    "h": 96.4
  },
  "luminance": 0.24152
}

Semantic roles & 50–950 ramp

primary
#9B8625
secondary
#5D6FBF
accent
#60E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9B8625

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

Preview Lab → · Contrast checker → · Palette generator →

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