#9B811E#9B811E

#9B811E is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.115 H 93.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9B811E
RGBrgb(155, 129, 30)
HSLhsl(48, 68%, 36%)
HSVhsv(48, 81%, 61%)
CMYKcmyk(0%, 16.8%, 80.6%, 39.2%)
CIE-LABlab(54.83, -0.16, 53.05)
CIE-LCHlch(54.83, 53.05, 90.17°)
OKLaboklab(61.06% -0.0064 0.1151)
OKLCHoklch(61.06% 0.115 93.2)
XYZxyz(21.6034, 22.7641, 4.4841)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B811E #1E389B
analogous
#9B431E #9B811E #779B1E
triadic
#9B811E #1E9B81 #811E9B
tetradic
#9B811E #1E9B43 #1E389B #9B1E77
square
#9B811E #1E9B43 #1E389B #9B1E77
split-complementary
#9B811E #1E779B #431E9B
monochromatic
#342C0A #685614 #9B811E #CEAC28 #DEC255

Accessibility & contrast

On white

3.78
#9B811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#9B811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B811E
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B811E#FFFFFF#000000##000000
##9B811E1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#A8766E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9b811e;
/* rgb */ color: rgb(155, 129, 30);
/* oklch */ color: oklch(61.1% 0.115 93.2);
Tailwind
colors: {
  custom: {
    50: '#bda563',
    500: '#9b811e',
    950: '#000000',
  },
}
SCSS
$custom: #9b811e;
$custom-light: #bda563;
$custom-dark: #000000;
JSON
{
  "hex": "#9b811e",
  "rgb": {
    "r": 155,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 47.52,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61061,
    "c": 0.11526,
    "h": 93.2
  },
  "luminance": 0.22763
}

Semantic roles & 50–950 ramp

primary
#9B811E
secondary
#536AC2
accent
#61EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B811E

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

Preview Lab → · Contrast checker → · Palette generator →

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