#9F893B#9F893B

#9F893B is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.101 H 93.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9F893B
RGBrgb(159, 137, 59)
HSLhsl(47, 46%, 43%)
HSVhsv(47, 63%, 62%)
CMYKcmyk(0%, 13.8%, 62.9%, 37.6%)
CIE-LABlab(57.64, -1.21, 43.87)
CIE-LCHlch(57.64, 43.88, 91.59°)
OKLaboklab(63.44% -0.0063 0.1008)
OKLCHoklch(63.44% 0.101 93.6)
XYZxyz(24.0342, 25.5792, 7.8082)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F893B #3B519F
analogous
#9F573B #9F893B #839F3B
triadic
#9F893B #3B9F89 #893B9F
tetradic
#9F893B #3B9F57 #3B519F #9F3B83
square
#9F893B #3B9F57 #3B519F #9F3B83
split-complementary
#9F893B #3B839F #573B9F
monochromatic
#463C1A #72632A #9F893B #C1A957 #D1C083

Accessibility & contrast

On white

3.43
#9F893B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9F893B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F893B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F893B#FFFFFF#000000##000000
##9F893B1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968733
Deuteranopia (green-blind)
#9C8D3F
Tritanopia (blue-blind)
#AB7F78
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f893b;
/* rgb */ color: rgb(159, 137, 59);
/* oklch */ color: oklch(63.4% 0.101 93.6);
Tailwind
colors: {
  custom: {
    50: '#beab74',
    500: '#9f893b',
    950: '#000000',
  },
}
SCSS
$custom: #9f893b;
$custom-light: #beab74;
$custom-dark: #000000;
JSON
{
  "hex": "#9f893b",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 59
  },
  "hsl": {
    "h": 46.8,
    "s": 45.872,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63443,
    "c": 0.10099,
    "h": 93.6
  },
  "luminance": 0.25578
}

Semantic roles & 50–950 ramp

primary
#9F893B
secondary
#7B89BB
accent
#6FD652
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9F893B

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

Preview Lab → · Contrast checker → · Palette generator →

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