#9B881E#9B881E

#9B881E is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.6% C 0.120 H 98.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9B881E
RGBrgb(155, 136, 30)
HSLhsl(51, 68%, 36%)
HSVhsv(51, 81%, 61%)
CMYKcmyk(0%, 12.3%, 80.6%, 39.2%)
CIE-LABlab(56.75, -4.03, 54.78)
CIE-LCHlch(56.75, 54.92, 94.21°)
OKLaboklab(62.59% -0.0174 0.1188)
OKLCHoklch(62.59% 0.12 98.3)
XYZxyz(22.5573, 24.6718, 4.8020)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B881E #1E319B
analogous
#9B4A1E #9B881E #709B1E
triadic
#9B881E #1E9B88 #881E9B
tetradic
#9B881E #1E9B4A #1E319B #9B1E70
square
#9B881E #1E9B4A #1E319B #9B1E70
split-complementary
#9B881E #1E709B #4A1E9B
monochromatic
#342E0A #685B14 #9B881E #CEB528 #DEC955

Accessibility & contrast

On white

3.54
#9B881E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#9B881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B881E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B881E#FFFFFF#000000##000000
##9B881E1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#A87D74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b881e;
/* rgb */ color: rgb(155, 136, 30);
/* oklch */ color: oklch(62.6% 0.120 98.3);
Tailwind
colors: {
  custom: {
    50: '#bcaa64',
    500: '#9b881e',
    950: '#000000',
  },
}
SCSS
$custom: #9b881e;
$custom-light: #bcaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#9b881e",
  "rgb": {
    "r": 155,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 50.88,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62585,
    "c": 0.12006,
    "h": 98.3
  },
  "luminance": 0.24671
}

Semantic roles & 50–950 ramp

primary
#9B881E
secondary
#5364C2
accent
#58EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B881E

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

Preview Lab → · Contrast checker → · Palette generator →

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