#9F993B#9F993B

#9F993B is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.0% C 0.115 H 105.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9F993B
RGBrgb(159, 153, 59)
HSLhsl(56, 46%, 43%)
HSVhsv(56, 63%, 62%)
CMYKcmyk(0%, 3.8%, 62.9%, 37.6%)
CIE-LABlab(62.06, -9.90, 48.69)
CIE-LCHlch(62.06, 49.69, 101.49°)
OKLaboklab(66.95% -0.0311 0.1111)
OKLCHoklch(66.95% 0.115 105.6)
XYZxyz(26.4796, 30.4701, 8.6233)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F993B #3B419F
analogous
#9F673B #9F993B #739F3B
triadic
#9F993B #3B9F99 #993B9F
tetradic
#9F993B #3B9F67 #3B419F #9F3B73
square
#9F993B #3B9F67 #3B419F #9F3B73
split-complementary
#9F993B #3B739F #673B9F
monochromatic
#46431A #726E2A #9F993B #C1BA57 #D1CC83

Accessibility & contrast

On white

2.96
#9F993B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#9F993B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F993B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F993B#FFFFFF#000000##000000
##9F993B1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69430
Deuteranopia (green-blind)
#A89840
Tritanopia (blue-blind)
#AA8F85
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f993b;
/* rgb */ color: rgb(159, 153, 59);
/* oklch */ color: oklch(67.0% 0.115 105.6);
Tailwind
colors: {
  custom: {
    50: '#beb675',
    500: '#9f993b',
    950: '#000000',
  },
}
SCSS
$custom: #9f993b;
$custom-light: #beb675;
$custom-dark: #000000;
JSON
{
  "hex": "#9f993b",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 59
  },
  "hsl": {
    "h": 56.4,
    "s": 45.872,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6695,
    "c": 0.11533,
    "h": 105.6
  },
  "luminance": 0.30469
}

Semantic roles & 50–950 ramp

primary
#9F993B
secondary
#7B7FBB
accent
#5AD652
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9F993B

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

Preview Lab → · Contrast checker → · Palette generator →

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