#9F862D#9F862D

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

Color values

HEX#9F862D
RGBrgb(159, 134, 45)
HSLhsl(47, 56%, 40%)
HSVhsv(47, 72%, 62%)
CMYKcmyk(0%, 15.7%, 71.7%, 37.6%)
CIE-LABlab(56.70, -0.42, 49.21)
CIE-LCHlch(56.70, 49.21, 90.49°)
OKLaboklab(62.66% -0.0057 0.1098)
OKLCHoklch(62.66% 0.11 93)
XYZxyz(23.2980, 24.6119, 6.0055)
Luminance0.2461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F862D #2D469F
analogous
#9F4D2D #9F862D #7F9F2D
triadic
#9F862D #2D9F86 #862D9F
tetradic
#9F862D #2D9F4D #2D469F #9F2D7F
square
#9F862D #2D9F4D #2D469F #9F2D7F
split-complementary
#9F862D #2D7F9F #4D2D9F
monochromatic
#403612 #6F5E20 #9F862D #C9AB40 #D6C070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F862D#FFFFFF#000000##000000
##9F862D1.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)
#958420
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#AC7B74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f862d;
/* rgb */ color: rgb(159, 134, 45);
/* oklch */ color: oklch(62.7% 0.110 93.0);
Tailwind
colors: {
  custom: {
    50: '#bfa86b',
    500: '#9f862d',
    950: '#000000',
  },
}
SCSS
$custom: #9f862d;
$custom-light: #bfa86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f862d",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 46.842,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.62661,
    "c": 0.10995,
    "h": 93
  },
  "luminance": 0.24611
}

Semantic roles & 50–950 ramp

primary
#9F862D
secondary
#6A7CBE
accent
#6ADF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9F862D

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

Preview Lab → · Contrast checker → · Palette generator →

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