#9B882F#9B882F

#9B882F is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.109 H 97.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9B882F
RGBrgb(155, 136, 47)
HSLhsl(49, 53%, 40%)
HSVhsv(49, 70%, 61%)
CMYKcmyk(0%, 12.3%, 69.7%, 39.2%)
CIE-LABlab(56.86, -3.23, 48.40)
CIE-LCHlch(56.86, 48.50, 93.82°)
OKLaboklab(62.71% -0.0133 0.1086)
OKLCHoklch(62.71% 0.109 97)
XYZxyz(22.8359, 24.7833, 6.2696)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B882F #2F429B
analogous
#9B522F #9B882F #789B2F
triadic
#9B882F #2F9B88 #882F9B
tetradic
#9B882F #2F9B52 #2F429B #9B2F78
square
#9B882F #2F9B52 #2F429B #9B2F78
split-complementary
#9B882F #2F789B #522F9B
monochromatic
#3D3613 #6C5F21 #9B882F #C6AE42 #D4C271

Accessibility & contrast

On white

3.53
#9B882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9B882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B882F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B882F#FFFFFF#000000##000000
##9B882F1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968523
Deuteranopia (green-blind)
#9B8B34
Tritanopia (blue-blind)
#A77E76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b882f;
/* rgb */ color: rgb(155, 136, 47);
/* oklch */ color: oklch(62.7% 0.109 97.0);
Tailwind
colors: {
  custom: {
    50: '#bcaa6d',
    500: '#9b882f',
    950: '#000000',
  },
}
SCSS
$custom: #9b882f;
$custom-light: #bcaa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b882f",
  "rgb": {
    "r": 155,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 49.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62706,
    "c": 0.10941,
    "h": 97
  },
  "luminance": 0.24782
}

Semantic roles & 50–950 ramp

primary
#9B882F
secondary
#6A79BB
accent
#65DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B882F

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

Preview Lab → · Contrast checker → · Palette generator →

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