#9F892B#9F892B

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

Color values

HEX#9F892B
RGBrgb(159, 137, 43)
HSLhsl(49, 57%, 40%)
HSVhsv(49, 73%, 62%)
CMYKcmyk(0%, 13.8%, 73%, 37.6%)
CIE-LABlab(57.50, -2.19, 50.84)
CIE-LCHlch(57.50, 50.88, 92.46°)
OKLaboklab(63.29% -0.011 0.1129)
OKLCHoklch(63.29% 0.113 95.6)
XYZxyz(23.6810, 25.4379, 5.9477)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F892B #2B419F
analogous
#9F4F2B #9F892B #7B9F2B
triadic
#9F892B #2B9F89 #892B9F
tetradic
#9F892B #2B9F4F #2B419F #9F2B7B
square
#9F892B #2B9F4F #2B419F #9F2B7B
split-complementary
#9F892B #2B7B9F #4F2B9F
monochromatic
#3F3611 #6F5F1E #9F892B #CAB03D #D7C36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F892B#FFFFFF#000000##000000
##9F892B1.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)
#97861D
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f892b;
/* rgb */ color: rgb(159, 137, 43);
/* oklch */ color: oklch(63.3% 0.113 95.6);
Tailwind
colors: {
  custom: {
    50: '#bfab6b',
    500: '#9f892b',
    950: '#000000',
  },
}
SCSS
$custom: #9f892b;
$custom-light: #bfab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f892b",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 48.621,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63292,
    "c": 0.11341,
    "h": 95.6
  },
  "luminance": 0.25437
}

Semantic roles & 50–950 ramp

primary
#9F892B
secondary
#6778BE
accent
#64E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F892B

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

Preview Lab → · Contrast checker → · Palette generator →

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