#9D862A#9D862A

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

Color values

HEX#9D862A
RGBrgb(157, 134, 42)
HSLhsl(48, 58%, 39%)
HSVhsv(48, 73%, 62%)
CMYKcmyk(0%, 14.6%, 73.2%, 38.4%)
CIE-LABlab(56.47, -1.49, 50.16)
CIE-LCHlch(56.47, 50.19, 91.70°)
OKLaboklab(62.43% -0.009 0.1113)
OKLCHoklch(62.43% 0.112 94.6)
XYZxyz(22.8488, 24.3867, 5.6937)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D862A #2A419D
analogous
#9D4D2A #9D862A #7B9D2A
triadic
#9D862A #2A9D86 #862A9D
tetradic
#9D862A #2A9D4D #2A419D #9D2A7B
square
#9D862A #2A9D4D #2A419D #9D2A7B
split-complementary
#9D862A #2A7B9D #4D2A9D
monochromatic
#3C3410 #6D5D1D #9D862A #CAAD3A #D7C16A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D862A#FFFFFF#000000##000000
##9D862A1.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)
#94831C
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#AA7B74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d862a;
/* rgb */ color: rgb(157, 134, 42);
/* oklch */ color: oklch(62.4% 0.112 94.6);
Tailwind
colors: {
  custom: {
    50: '#bda86a',
    500: '#9d862a',
    950: '#000000',
  },
}
SCSS
$custom: #9d862a;
$custom-light: #bda86a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d862a",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 48,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62431,
    "c": 0.1117,
    "h": 94.6
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#9D862A
secondary
#6577BE
accent
#66E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D862A

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

Preview Lab → · Contrast checker → · Palette generator →

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