#9F8527#9F8527

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

Color values

HEX#9F8527
RGBrgb(159, 133, 39)
HSLhsl(47, 61%, 39%)
HSVhsv(47, 75%, 62%)
CMYKcmyk(0%, 16.4%, 75.5%, 37.6%)
CIE-LABlab(56.38, -0.17, 51.34)
CIE-LCHlch(56.38, 51.34, 90.19°)
OKLaboklab(62.4% -0.0057 0.1131)
OKLCHoklch(62.4% 0.113 92.9)
XYZxyz(23.0531, 24.2938, 5.3940)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8527 #27419F
analogous
#9F4927 #9F8527 #7D9F27
triadic
#9F8527 #279F85 #85279F
tetradic
#9F8527 #279F49 #27419F #9F277D
square
#9F8527 #279F49 #27419F #9F277D
split-complementary
#9F8527 #277D9F #49279F
monochromatic
#3D330F #6E5C1B #9F8527 #CEAD36 #DAC167

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F8527#FFFFFF#000000##000000
##9F85271.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)
#948317
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#AC7A73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f8527;
/* rgb */ color: rgb(159, 133, 39);
/* oklch */ color: oklch(62.4% 0.113 92.9);
Tailwind
colors: {
  custom: {
    50: '#bfa868',
    500: '#9f8527',
    950: '#000000',
  },
}
SCSS
$custom: #9f8527;
$custom-light: #bfa868;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8527",
  "rgb": {
    "r": 159,
    "g": 133,
    "b": 39
  },
  "hsl": {
    "h": 47,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62399,
    "c": 0.11328,
    "h": 92.9
  },
  "luminance": 0.24292
}

Semantic roles & 50–950 ramp

primary
#9F8527
secondary
#6276C0
accent
#67E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8527

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

Preview Lab → · Contrast checker → · Palette generator →

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