#9F8530#9F8530

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

Color values

HEX#9F8530
RGBrgb(159, 133, 48)
HSLhsl(46, 54%, 41%)
HSVhsv(46, 70%, 62%)
CMYKcmyk(0%, 16.4%, 69.8%, 37.6%)
CIE-LABlab(56.45, 0.30, 47.66)
CIE-LCHlch(56.45, 47.66, 89.64°)
OKLaboklab(62.47% -0.0033 0.1071)
OKLCHoklch(62.47% 0.107 91.8)
XYZxyz(23.2203, 24.3607, 6.2748)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8530 #304A9F
analogous
#9F4D30 #9F8530 #819F30
triadic
#9F8530 #309F85 #85309F
tetradic
#9F8530 #309F4D #304A9F #9F3081
square
#9F8530 #309F4D #304A9F #9F3081
split-complementary
#9F8530 #30819F #4D309F
monochromatic
#413614 #705E22 #9F8530 #C7A945 #D5BE74

Accessibility & contrast

On white

3.58
#9F8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9F8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8530
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8530#FFFFFF#000000##000000
##9F85301.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#AC7A73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f8530;
/* rgb */ color: rgb(159, 133, 48);
/* oklch */ color: oklch(62.5% 0.107 91.8);
Tailwind
colors: {
  custom: {
    50: '#bfa86d',
    500: '#9f8530',
    950: '#000000',
  },
}
SCSS
$custom: #9f8530;
$custom-light: #bfa86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8530",
  "rgb": {
    "r": 159,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 45.946,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.62472,
    "c": 0.10713,
    "h": 91.8
  },
  "luminance": 0.24359
}

Semantic roles & 50–950 ramp

primary
#9F8530
secondary
#6E80BD
accent
#6DDD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9F8530

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

Preview Lab → · Contrast checker → · Palette generator →

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