#9B831E#9B831E

#9B831E is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.117 H 94.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9B831E
RGBrgb(155, 131, 30)
HSLhsl(48, 68%, 36%)
HSVhsv(48, 81%, 61%)
CMYKcmyk(0%, 15.5%, 80.6%, 39.2%)
CIE-LABlab(55.38, -1.27, 53.54)
CIE-LCHlch(55.38, 53.56, 91.36°)
OKLaboklab(61.49% -0.0096 0.1161)
OKLCHoklch(61.49% 0.117 94.7)
XYZxyz(21.8694, 23.2962, 4.5728)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B831E #1E369B
analogous
#9B451E #9B831E #759B1E
triadic
#9B831E #1E9B83 #831E9B
tetradic
#9B831E #1E9B45 #1E369B #9B1E75
square
#9B831E #1E9B45 #1E369B #9B1E75
split-complementary
#9B831E #1E759B #451E9B
monochromatic
#342C0A #685814 #9B831E #CEAE28 #DEC455

Accessibility & contrast

On white

3.71
#9B831E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#9B831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B831E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B831E#FFFFFF#000000##000000
##9B831E1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#A87870
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9b831e;
/* rgb */ color: rgb(155, 131, 30);
/* oklch */ color: oklch(61.5% 0.117 94.7);
Tailwind
colors: {
  custom: {
    50: '#bda663',
    500: '#9b831e',
    950: '#000000',
  },
}
SCSS
$custom: #9b831e;
$custom-light: #bda663;
$custom-dark: #000000;
JSON
{
  "hex": "#9b831e",
  "rgb": {
    "r": 155,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 48.48,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.11653,
    "h": 94.7
  },
  "luminance": 0.23295
}

Semantic roles & 50–950 ramp

primary
#9B831E
secondary
#5368C2
accent
#5FEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B831E

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

Preview Lab → · Contrast checker → · Palette generator →

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