#9F861C#9F861C

#9F861C is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.120 H 94.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9F861C
RGBrgb(159, 134, 28)
HSLhsl(49, 70%, 37%)
HSVhsv(49, 82%, 62%)
CMYKcmyk(0%, 15.7%, 82.4%, 37.6%)
CIE-LABlab(56.59, -1.16, 55.42)
CIE-LCHlch(56.59, 55.44, 91.20°)
OKLaboklab(62.54% -0.0097 0.1196)
OKLCHoklch(62.54% 0.12 94.6)
XYZxyz(23.0341, 24.5063, 4.6153)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F861C #1C359F
analogous
#9F451C #9F861C #779F1C
triadic
#9F861C #1C9F86 #861C9F
tetradic
#9F861C #1C9F45 #1C359F #9F1C77
square
#9F861C #1C9F45 #1C359F #9F1C77
split-complementary
#9F861C #1C779F #451C9F
monochromatic
#372E0A #6B5A13 #9F861C #D3B225 #E1C654

Accessibility & contrast

On white

3.56
#9F861C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9F861C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F861C
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F861C#FFFFFF#000000##000000
##9F861C1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9B8B24
Tritanopia (blue-blind)
#AC7B73
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f861c;
/* rgb */ color: rgb(159, 134, 28);
/* oklch */ color: oklch(62.5% 0.120 94.6);
Tailwind
colors: {
  custom: {
    50: '#c0a863',
    500: '#9f861c',
    950: '#000000',
  },
}
SCSS
$custom: #9f861c;
$custom-light: #c0a863;
$custom-dark: #000000;
JSON
{
  "hex": "#9f861c",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 48.55,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62545,
    "c": 0.11995,
    "h": 94.6
  },
  "luminance": 0.24505
}

Semantic roles & 50–950 ramp

primary
#9F861C
secondary
#5368C4
accent
#5DED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F861C

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

Preview Lab → · Contrast checker → · Palette generator →

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