#9F862E#9F862E

#9F862E is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.7% C 0.109 H 92.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9F862E
RGBrgb(159, 134, 46)
HSLhsl(47, 55%, 40%)
HSVhsv(47, 71%, 62%)
CMYKcmyk(0%, 15.7%, 71.1%, 37.6%)
CIE-LABlab(56.70, -0.37, 48.79)
CIE-LCHlch(56.70, 48.79, 90.43°)
OKLaboklab(62.67% -0.0055 0.1091)
OKLCHoklch(62.67% 0.109 92.9)
XYZxyz(23.3175, 24.6197, 6.1081)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F862E #2E479F
analogous
#9F4E2E #9F862E #7F9F2E
triadic
#9F862E #2E9F86 #862E9F
tetradic
#9F862E #2E9F4E #2E479F #9F2E7F
square
#9F862E #2E9F4E #2E479F #9F2E7F
split-complementary
#9F862E #2E7F9F #4E2E9F
monochromatic
#403613 #705E20 #9F862E #C8AB42 #D6C071

Accessibility & contrast

On white

3.55
#9F862E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#9F862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F862E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F862E#FFFFFF#000000##000000
##9F862E1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948422
Deuteranopia (green-blind)
#9B8B33
Tritanopia (blue-blind)
#AC7B74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f862e;
/* rgb */ color: rgb(159, 134, 46);
/* oklch */ color: oklch(62.7% 0.109 92.9);
Tailwind
colors: {
  custom: {
    50: '#bfa86c',
    500: '#9f862e',
    950: '#000000',
  },
}
SCSS
$custom: #9f862e;
$custom-light: #bfa86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f862e",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 46.726,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.10924,
    "h": 92.9
  },
  "luminance": 0.24618
}

Semantic roles & 50–950 ramp

primary
#9F862E
secondary
#6B7DBE
accent
#6ADE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9F862E

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

Preview Lab → · Contrast checker → · Palette generator →

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