#9D862F#9D862F

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

Color values

HEX#9D862F
RGBrgb(157, 134, 47)
HSLhsl(47, 54%, 40%)
HSVhsv(47, 70%, 62%)
CMYKcmyk(0%, 14.6%, 70.1%, 38.4%)
CIE-LABlab(56.51, -1.22, 48.10)
CIE-LCHlch(56.51, 48.11, 91.45°)
OKLaboklab(62.47% -0.0077 0.1079)
OKLCHoklch(62.47% 0.108 94.1)
XYZxyz(22.9440, 24.4248, 6.1947)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D862F #2F469D
analogous
#9D4F2F #9D862F #7D9D2F
triadic
#9D862F #2F9D86 #862F9D
tetradic
#9D862F #2F9D4F #2F469D #9D2F7D
square
#9D862F #2F9D4F #2F469D #9D2F7D
split-complementary
#9D862F #2F7D9D #4F2F9D
monochromatic
#3F3613 #6E5E21 #9D862F #C7AB43 #D5C072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D862F#FFFFFF#000000##000000
##9D862F1.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)
#948423
Deuteranopia (green-blind)
#9A8A34
Tritanopia (blue-blind)
#AA7B74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d862f;
/* rgb */ color: rgb(157, 134, 47);
/* oklch */ color: oklch(62.5% 0.108 94.1);
Tailwind
colors: {
  custom: {
    50: '#bda86d',
    500: '#9d862f',
    950: '#000000',
  },
}
SCSS
$custom: #9d862f;
$custom-light: #bda86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d862f",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 47.455,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.62473,
    "c": 0.10817,
    "h": 94.1
  },
  "luminance": 0.24424
}

Semantic roles & 50–950 ramp

primary
#9D862F
secondary
#6B7CBC
accent
#69DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9D862F

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

Preview Lab → · Contrast checker → · Palette generator →

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