#9F862A#9F862A

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

Color values

HEX#9F862A
RGBrgb(159, 134, 42)
HSLhsl(47, 58%, 39%)
HSVhsv(47, 74%, 62%)
CMYKcmyk(0%, 15.7%, 73.6%, 37.6%)
CIE-LABlab(56.67, -0.58, 50.43)
CIE-LCHlch(56.67, 50.43, 90.66°)
OKLaboklab(62.64% -0.0065 0.1118)
OKLCHoklch(62.64% 0.112 93.4)
XYZxyz(23.2423, 24.5896, 5.7121)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F862A #2A439F
analogous
#9F4B2A #9F862A #7E9F2A
triadic
#9F862A #2A9F86 #862A9F
tetradic
#9F862A #2A9F4B #2A439F #9F2A7E
square
#9F862A #2A9F4B #2A439F #9F2A7E
split-complementary
#9F862A #2A7E9F #4B2A9F
monochromatic
#3E3410 #6F5D1D #9F862A #CBAC3B #D8C16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F862A#FFFFFF#000000##000000
##9F862A1.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)
#95841C
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#AC7B74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f862a;
/* rgb */ color: rgb(159, 134, 42);
/* oklch */ color: oklch(62.6% 0.112 93.4);
Tailwind
colors: {
  custom: {
    50: '#bfa86a',
    500: '#9f862a',
    950: '#000000',
  },
}
SCSS
$custom: #9f862a;
$custom-light: #bfa86a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f862a",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 47.179,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62636,
    "c": 0.112,
    "h": 93.4
  },
  "luminance": 0.24588
}

Semantic roles & 50–950 ramp

primary
#9F862A
secondary
#6679BF
accent
#68E146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9F862A

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

Preview Lab → · Contrast checker → · Palette generator →

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