#9F862F#9F862F

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

Color values

HEX#9F862F
RGBrgb(159, 134, 47)
HSLhsl(47, 54%, 40%)
HSVhsv(47, 70%, 62%)
CMYKcmyk(0%, 15.7%, 70.4%, 37.6%)
CIE-LABlab(56.71, -0.31, 48.37)
CIE-LCHlch(56.71, 48.37, 90.37°)
OKLaboklab(62.68% -0.0052 0.1084)
OKLCHoklch(62.68% 0.109 92.7)
XYZxyz(23.3375, 24.6277, 6.2132)
Luminance0.2463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F862F #2F489F
analogous
#9F4E2F #9F862F #809F2F
triadic
#9F862F #2F9F86 #862F9F
tetradic
#9F862F #2F9F4E #2F489F #9F2F80
square
#9F862F #2F9F4E #2F489F #9F2F80
split-complementary
#9F862F #2F809F #4E2F9F
monochromatic
#413613 #705E21 #9F862F #C8AA44 #D6C073

Accessibility & contrast

On white

3.54
#9F862F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#9F862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F862F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F862F#FFFFFF#000000##000000
##9F862F1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f862f;
/* rgb */ color: rgb(159, 134, 47);
/* oklch */ color: oklch(62.7% 0.109 92.7);
Tailwind
colors: {
  custom: {
    50: '#bfa86d',
    500: '#9f862f',
    950: '#000000',
  },
}
SCSS
$custom: #9f862f;
$custom-light: #bfa86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f862f",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 46.607,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62678,
    "c": 0.10851,
    "h": 92.7
  },
  "luminance": 0.24626
}

Semantic roles & 50–950 ramp

primary
#9F862F
secondary
#6D7FBD
accent
#6BDE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9F862F

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

Preview Lab → · Contrast checker → · Palette generator →

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