#9F8529#9F8529

#9F8529 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.4% C 0.112 H 92.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9F8529
RGBrgb(159, 133, 41)
HSLhsl(47, 59%, 39%)
HSVhsv(47, 74%, 62%)
CMYKcmyk(0%, 16.4%, 74.2%, 37.6%)
CIE-LABlab(56.39, -0.07, 50.56)
CIE-LCHlch(56.39, 50.56, 90.08°)
OKLaboklab(62.41% -0.0052 0.1119)
OKLCHoklch(62.41% 0.112 92.7)
XYZxyz(23.0871, 24.3074, 5.5732)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8529 #29439F
analogous
#9F4A29 #9F8529 #7E9F29
triadic
#9F8529 #299F85 #85299F
tetradic
#9F8529 #299F4A #29439F #9F297E
square
#9F8529 #299F4A #29439F #9F297E
split-complementary
#9F8529 #297E9F #4A299F
monochromatic
#3E3410 #6E5C1C #9F8529 #CCAC39 #D9C06A

Accessibility & contrast

On white

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

On black

5.86
#9F8529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8529
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8529#FFFFFF#000000##000000
##9F85291.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#AC7A73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f8529;
/* rgb */ color: rgb(159, 133, 41);
/* oklch */ color: oklch(62.4% 0.112 92.7);
Tailwind
colors: {
  custom: {
    50: '#bfa869',
    500: '#9f8529',
    950: '#000000',
  },
}
SCSS
$custom: #9f8529;
$custom-light: #bfa869;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8529",
  "rgb": {
    "r": 159,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 46.78,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62414,
    "c": 0.11201,
    "h": 92.7
  },
  "luminance": 0.24306
}

Semantic roles & 50–950 ramp

primary
#9F8529
secondary
#6579BF
accent
#68E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9F8529

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

Preview Lab → · Contrast checker → · Palette generator →

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