#9F8532#9F8532

#9F8532 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.106 H 91.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9F8532
RGBrgb(159, 133, 50)
HSLhsl(46, 52%, 41%)
HSVhsv(46, 69%, 62%)
CMYKcmyk(0%, 16.4%, 68.6%, 37.6%)
CIE-LABlab(56.46, 0.41, 46.78)
CIE-LCHlch(56.46, 46.79, 89.49°)
OKLaboklab(62.49% -0.0027 0.1056)
OKLCHoklch(62.49% 0.106 91.5)
XYZxyz(23.2625, 24.3776, 6.4971)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8532 #324C9F
analogous
#9F4E32 #9F8532 #829F32
triadic
#9F8532 #329F85 #85329F
tetradic
#9F8532 #329F4E #324C9F #9F3282
square
#9F8532 #329F4E #324C9F #9F3282
split-complementary
#9F8532 #32829F #4E329F
monochromatic
#423715 #705E23 #9F8532 #C6A849 #D4BE77

Accessibility & contrast

On white

3.57
#9F8532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9F8532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8532
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8532#FFFFFF#000000##000000
##9F85321.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938328
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#AC7A74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f8532;
/* rgb */ color: rgb(159, 133, 50);
/* oklch */ color: oklch(62.5% 0.106 91.5);
Tailwind
colors: {
  custom: {
    50: '#bfa86e',
    500: '#9f8532',
    950: '#000000',
  },
}
SCSS
$custom: #9f8532;
$custom-light: #bfa86e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8532",
  "rgb": {
    "r": 159,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 45.688,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62491,
    "c": 0.10562,
    "h": 91.5
  },
  "luminance": 0.24376
}

Semantic roles & 50–950 ramp

primary
#9F8532
secondary
#7082BD
accent
#6EDC4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9F8532

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

Preview Lab → · Contrast checker → · Palette generator →

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