#9F8733#9F8733

#9F8733 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.9% C 0.106 H 93.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9F8733
RGBrgb(159, 135, 51)
HSLhsl(47, 51%, 41%)
HSVhsv(47, 68%, 62%)
CMYKcmyk(0%, 15.1%, 67.9%, 37.6%)
CIE-LABlab(57.02, -0.63, 46.91)
CIE-LCHlch(57.02, 46.92, 90.78°)
OKLaboklab(62.93% -0.0056 0.106)
OKLCHoklch(62.93% 0.106 93)
XYZxyz(23.5608, 24.9392, 6.7041)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8733 #334B9F
analogous
#9F5133 #9F8733 #819F33
triadic
#9F8733 #339F87 #87339F
tetradic
#9F8733 #339F51 #334B9F #9F3381
square
#9F8733 #339F51 #334B9F #9F3381
split-complementary
#9F8733 #33819F #51339F
monochromatic
#423815 #716024 #9F8733 #C5AA4A #D4C079

Accessibility & contrast

On white

3.51
#9F8733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9F8733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8733
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8733#FFFFFF#000000##000000
##9F87331.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958529
Deuteranopia (green-blind)
#9B8C37
Tritanopia (blue-blind)
#AC7C75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f8733;
/* rgb */ color: rgb(159, 135, 51);
/* oklch */ color: oklch(62.9% 0.106 93.0);
Tailwind
colors: {
  custom: {
    50: '#bfa96f',
    500: '#9f8733',
    950: '#000000',
  },
}
SCSS
$custom: #9f8733;
$custom-light: #bfa96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8733",
  "rgb": {
    "r": 159,
    "g": 135,
    "b": 51
  },
  "hsl": {
    "h": 46.667,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6293,
    "c": 0.10618,
    "h": 93
  },
  "luminance": 0.24938
}

Semantic roles & 50–950 ramp

primary
#9F8733
secondary
#7182BC
accent
#6CDB4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9F8733

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

Preview Lab → · Contrast checker → · Palette generator →

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