#9D862C#9D862C

#9D862C is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.110 H 94.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9D862C
RGBrgb(157, 134, 44)
HSLhsl(48, 56%, 39%)
HSVhsv(48, 72%, 62%)
CMYKcmyk(0%, 14.6%, 72%, 38.4%)
CIE-LABlab(56.49, -1.39, 49.35)
CIE-LCHlch(56.49, 49.37, 91.61°)
OKLaboklab(62.45% -0.0085 0.11)
OKLCHoklch(62.45% 0.11 94.4)
XYZxyz(22.8855, 24.4014, 5.8869)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D862C #2C439D
analogous
#9D4E2C #9D862C #7C9D2C
triadic
#9D862C #2C9D86 #862C9D
tetradic
#9D862C #2C9D4E #2C439D #9D2C7C
square
#9D862C #2C9D4E #2C439D #9D2C7C
split-complementary
#9D862C #2C7C9D #4E2C9D
monochromatic
#3D3411 #6D5D1F #9D862C #C9AC3D #D6C16D

Accessibility & contrast

On white

3.57
#9D862C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9D862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D862C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D862C#FFFFFF#000000##000000
##9D862C1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831F
Deuteranopia (green-blind)
#9A8A31
Tritanopia (blue-blind)
#AA7B74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d862c;
/* rgb */ color: rgb(157, 134, 44);
/* oklch */ color: oklch(62.4% 0.110 94.4);
Tailwind
colors: {
  custom: {
    50: '#bda86b',
    500: '#9d862c',
    950: '#000000',
  },
}
SCSS
$custom: #9d862c;
$custom-light: #bda86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d862c",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 47.788,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62447,
    "c": 0.11033,
    "h": 94.4
  },
  "luminance": 0.244
}

Semantic roles & 50–950 ramp

primary
#9D862C
secondary
#6879BD
accent
#67E048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D862C

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

Preview Lab → · Contrast checker → · Palette generator →

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