#9F9732#9F9732

#9F9732 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.4% C 0.120 H 104.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9F9732
RGBrgb(159, 151, 50)
HSLhsl(56, 52%, 41%)
HSVhsv(56, 69%, 62%)
CMYKcmyk(0%, 5%, 68.6%, 37.6%)
CIE-LABlab(61.43, -9.40, 51.91)
CIE-LCHlch(61.43, 52.75, 100.26°)
OKLaboklab(66.42% -0.0307 0.1164)
OKLCHoklch(66.42% 0.12 104.8)
XYZxyz(25.9414, 29.7354, 7.3900)
Luminance0.2973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9732 #323A9F
analogous
#9F6032 #9F9732 #709F32
triadic
#9F9732 #329F97 #97329F
tetradic
#9F9732 #329F60 #323A9F #9F3270
square
#9F9732 #329F60 #323A9F #9F3270
split-complementary
#9F9732 #32709F #60329F
monochromatic
#423F15 #706B23 #9F9732 #C6BC49 #D4CD77

Accessibility & contrast

On white

3.02
#9F9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#9F9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9732
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9732#FFFFFF#000000##000000
##9F97321.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49224
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#AB8D83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9f9732;
/* rgb */ color: rgb(159, 151, 50);
/* oklch */ color: oklch(66.4% 0.120 104.8);
Tailwind
colors: {
  custom: {
    50: '#beb570',
    500: '#9f9732',
    950: '#000000',
  },
}
SCSS
$custom: #9f9732;
$custom-light: #beb570;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9732",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 55.596,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66423,
    "c": 0.1204,
    "h": 104.8
  },
  "luminance": 0.29734
}

Semantic roles & 50–950 ramp

primary
#9F9732
secondary
#7076BD
accent
#57DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #9F9732

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

Preview Lab → · Contrast checker → · Palette generator →

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