#9D862D#9D862D

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

Color values

HEX#9D862D
RGBrgb(157, 134, 45)
HSLhsl(48, 55%, 40%)
HSVhsv(48, 71%, 62%)
CMYKcmyk(0%, 14.6%, 71.3%, 38.4%)
CIE-LABlab(56.49, -1.33, 48.94)
CIE-LCHlch(56.49, 48.96, 91.56°)
OKLaboklab(62.46% -0.0082 0.1093)
OKLCHoklch(62.46% 0.11 94.3)
XYZxyz(22.9045, 24.4090, 5.9871)
Luminance0.2441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D862D #2D449D
analogous
#9D4E2D #9D862D #7C9D2D
triadic
#9D862D #2D9D86 #862D9D
tetradic
#9D862D #2D9D4E #2D449D #9D2D7C
square
#9D862D #2D9D4E #2D449D #9D2D7C
split-complementary
#9D862D #2D7C9D #4E2D9D
monochromatic
#3E3512 #6D5D1F #9D862D #C8AC3F #D6C16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D862D#FFFFFF#000000##000000
##9D862D1.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)
#948321
Deuteranopia (green-blind)
#9A8A32
Tritanopia (blue-blind)
#AA7B74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d862d;
/* rgb */ color: rgb(157, 134, 45);
/* oklch */ color: oklch(62.5% 0.110 94.3);
Tailwind
colors: {
  custom: {
    50: '#bda86b',
    500: '#9d862d',
    950: '#000000',
  },
}
SCSS
$custom: #9d862d;
$custom-light: #bda86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d862d",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 47.679,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62456,
    "c": 0.10962,
    "h": 94.3
  },
  "luminance": 0.24408
}

Semantic roles & 50–950 ramp

primary
#9D862D
secondary
#697ABD
accent
#68DF49
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D862D

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

Preview Lab → · Contrast checker → · Palette generator →

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