#9F892C#9F892C

#9F892C is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.3% C 0.113 H 95.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9F892C
RGBrgb(159, 137, 44)
HSLhsl(49, 57%, 40%)
HSVhsv(49, 72%, 62%)
CMYKcmyk(0%, 13.8%, 72.3%, 37.6%)
CIE-LABlab(57.51, -2.13, 50.44)
CIE-LCHlch(57.51, 50.48, 92.42°)
OKLaboklab(63.3% -0.0108 0.1122)
OKLCHoklch(63.3% 0.113 95.5)
XYZxyz(23.6996, 25.4454, 6.0455)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F892C #2C429F
analogous
#9F502C #9F892C #7B9F2C
triadic
#9F892C #2C9F89 #892C9F
tetradic
#9F892C #2C9F50 #2C429F #9F2C7B
square
#9F892C #2C9F50 #2C429F #9F2C7B
split-complementary
#9F892C #2C7B9F #502C9F
monochromatic
#3F3611 #6F601F #9F892C #CAAF3E #D7C36E

Accessibility & contrast

On white

3.45
#9F892C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#9F892C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F892C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F892C#FFFFFF#000000##000000
##9F892C1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f892c;
/* rgb */ color: rgb(159, 137, 44);
/* oklch */ color: oklch(63.3% 0.113 95.5);
Tailwind
colors: {
  custom: {
    50: '#bfab6b',
    500: '#9f892c',
    950: '#000000',
  },
}
SCSS
$custom: #9f892c;
$custom-light: #bfab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f892c",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 44
  },
  "hsl": {
    "h": 48.522,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.633,
    "c": 0.11273,
    "h": 95.5
  },
  "luminance": 0.25444
}

Semantic roles & 50–950 ramp

primary
#9F892C
secondary
#6979BE
accent
#65E048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F892C

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

Preview Lab → · Contrast checker → · Palette generator →

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