#9F8D33#9F8D33

#9F8D33 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.111 H 97.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9F8D33
RGBrgb(159, 141, 51)
HSLhsl(50, 51%, 41%)
HSVhsv(50, 68%, 62%)
CMYKcmyk(0%, 11.3%, 67.9%, 37.6%)
CIE-LABlab(58.66, -3.94, 48.64)
CIE-LCHlch(58.66, 48.80, 94.63°)
OKLaboklab(64.23% -0.0151 0.1097)
OKLCHoklch(64.23% 0.111 97.8)
XYZxyz(24.4216, 26.6609, 6.9910)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8D33 #33459F
analogous
#9F5733 #9F8D33 #7B9F33
triadic
#9F8D33 #339F8D #8D339F
tetradic
#9F8D33 #339F57 #33459F #9F337B
square
#9F8D33 #339F57 #33459F #9F337B
split-complementary
#9F8D33 #337B9F #57339F
monochromatic
#423B15 #716424 #9F8D33 #C5B14A #D4C579

Accessibility & contrast

On white

3.32
#9F8D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9F8D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8D33
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8D33#FFFFFF#000000##000000
##9F8D331.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A27
Deuteranopia (green-blind)
#9F9038
Tritanopia (blue-blind)
#AB837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f8d33;
/* rgb */ color: rgb(159, 141, 51);
/* oklch */ color: oklch(64.2% 0.111 97.8);
Tailwind
colors: {
  custom: {
    50: '#beae70',
    500: '#9f8d33',
    950: '#000000',
  },
}
SCSS
$custom: #9f8d33;
$custom-light: #beae70;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8d33",
  "rgb": {
    "r": 159,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 50,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64229,
    "c": 0.1107,
    "h": 97.8
  },
  "luminance": 0.2666
}

Semantic roles & 50–950 ramp

primary
#9F8D33
secondary
#717EBC
accent
#65DB4D
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #9F8D33

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

Preview Lab → · Contrast checker → · Palette generator →

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