#9B891E#9B891E

#9B891E is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.121 H 99.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9B891E
RGBrgb(155, 137, 30)
HSLhsl(51, 68%, 36%)
HSVhsv(51, 81%, 61%)
CMYKcmyk(0%, 11.6%, 80.6%, 39.2%)
CIE-LABlab(57.03, -4.58, 55.02)
CIE-LCHlch(57.03, 55.21, 94.76°)
OKLaboklab(62.81% -0.0189 0.1193)
OKLCHoklch(62.81% 0.121 99)
XYZxyz(22.6987, 24.9548, 4.8492)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B891E #1E309B
analogous
#9B4B1E #9B891E #6F9B1E
triadic
#9B891E #1E9B89 #891E9B
tetradic
#9B891E #1E9B4B #1E309B #9B1E6F
square
#9B891E #1E9B4B #1E309B #9B1E6F
split-complementary
#9B891E #1E6F9B #4B1E9B
monochromatic
#342E0A #685C14 #9B891E #CEB628 #DECA55

Accessibility & contrast

On white

3.51
#9B891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9B891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B891E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B891E#FFFFFF#000000##000000
##9B891E1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#9C8C26
Tritanopia (blue-blind)
#A87E75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b891e;
/* rgb */ color: rgb(155, 137, 30);
/* oklch */ color: oklch(62.8% 0.121 99.0);
Tailwind
colors: {
  custom: {
    50: '#bcab64',
    500: '#9b891e',
    950: '#000000',
  },
}
SCSS
$custom: #9b891e;
$custom-light: #bcab64;
$custom-dark: #000000;
JSON
{
  "hex": "#9b891e",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 51.36,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62805,
    "c": 0.12082,
    "h": 99
  },
  "luminance": 0.24954
}

Semantic roles & 50–950 ramp

primary
#9B891E
secondary
#5363C2
accent
#56EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9B891E

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

Preview Lab → · Contrast checker → · Palette generator →

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