#9B862E#9B862E

#9B862E is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.109 H 95.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9B862E
RGBrgb(155, 134, 46)
HSLhsl(48, 54%, 39%)
HSVhsv(48, 70%, 61%)
CMYKcmyk(0%, 13.5%, 70.3%, 39.2%)
CIE-LABlab(56.30, -2.19, 48.25)
CIE-LCHlch(56.30, 48.30, 92.59°)
OKLaboklab(62.26% -0.0104 0.1081)
OKLCHoklch(62.26% 0.109 95.5)
XYZxyz(22.5369, 24.2172, 6.0715)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B862E #2E439B
analogous
#9B4F2E #9B862E #7A9B2E
triadic
#9B862E #2E9B86 #862E9B
tetradic
#9B862E #2E9B4F #2E439B #9B2E7A
square
#9B862E #2E9B4F #2E439B #9B2E7A
split-complementary
#9B862E #2E7A9B #4F2E9B
monochromatic
#3D3412 #6C5D20 #9B862E #C6AC40 #D4C16F

Accessibility & contrast

On white

3.59
#9B862E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9B862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B862E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B862E#FFFFFF#000000##000000
##9B862E1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#998A33
Tritanopia (blue-blind)
#A77C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b862e;
/* rgb */ color: rgb(155, 134, 46);
/* oklch */ color: oklch(62.3% 0.109 95.5);
Tailwind
colors: {
  custom: {
    50: '#bca86c',
    500: '#9b862e',
    950: '#000000',
  },
}
SCSS
$custom: #9b862e;
$custom-light: #bca86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b862e",
  "rgb": {
    "r": 155,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 48.44,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62261,
    "c": 0.10862,
    "h": 95.5
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#9B862E
secondary
#6979BC
accent
#67DE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9B862E

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

Preview Lab → · Contrast checker → · Palette generator →

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