#9F892D#9F892D

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

Color values

HEX#9F892D
RGBrgb(159, 137, 45)
HSLhsl(48, 56%, 40%)
HSVhsv(48, 72%, 62%)
CMYKcmyk(0%, 13.8%, 71.7%, 37.6%)
CIE-LABlab(57.51, -2.08, 50.03)
CIE-LCHlch(57.51, 50.07, 92.38°)
OKLaboklab(63.31% -0.0105 0.1115)
OKLCHoklch(63.31% 0.112 95.4)
XYZxyz(23.7186, 25.4530, 6.1457)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F892D #2D439F
analogous
#9F502D #9F892D #7C9F2D
triadic
#9F892D #2D9F89 #892D9F
tetradic
#9F892D #2D9F50 #2D439F #9F2D7C
square
#9F892D #2D9F50 #2D439F #9F2D7C
split-complementary
#9F892D #2D7C9F #502D9F
monochromatic
#403712 #6F6020 #9F892D #C9AF40 #D6C370

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F892D#FFFFFF#000000##000000
##9F892D1.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)
#978620
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f892d;
/* rgb */ color: rgb(159, 137, 45);
/* oklch */ color: oklch(63.3% 0.112 95.4);
Tailwind
colors: {
  custom: {
    50: '#bfab6c',
    500: '#9f892d',
    950: '#000000',
  },
}
SCSS
$custom: #9f892d;
$custom-light: #bfab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f892d",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 48.421,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.63308,
    "c": 0.11203,
    "h": 95.4
  },
  "luminance": 0.25452
}

Semantic roles & 50–950 ramp

primary
#9F892D
secondary
#6A7ABE
accent
#66DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F892D

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

Preview Lab → · Contrast checker → · Palette generator →

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