#9F8724#9F8724

#9F8724 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.8% C 0.116 H 94.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9F8724
RGBrgb(159, 135, 36)
HSLhsl(48, 63%, 38%)
HSVhsv(48, 77%, 62%)
CMYKcmyk(0%, 15.1%, 77.4%, 37.6%)
CIE-LABlab(56.91, -1.41, 52.98)
CIE-LCHlch(56.91, 53.00, 91.52°)
OKLaboklab(62.81% -0.0096 0.116)
OKLCHoklch(62.81% 0.116 94.7)
XYZxyz(23.2818, 24.8276, 5.2346)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8724 #243C9F
analogous
#9F4A24 #9F8724 #799F24
triadic
#9F8724 #249F87 #87249F
tetradic
#9F8724 #249F4A #243C9F #9F2479
square
#9F8724 #249F4A #243C9F #9F2479
split-complementary
#9F8724 #24799F #4A249F
monochromatic
#3B320D #6D5D19 #9F8724 #D0B130 #DBC462

Accessibility & contrast

On white

3.52
#9F8724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9F8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8724
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8724#FFFFFF#000000##000000
##9F87241.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968411
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#AC7C74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f8724;
/* rgb */ color: rgb(159, 135, 36);
/* oklch */ color: oklch(62.8% 0.116 94.7);
Tailwind
colors: {
  custom: {
    50: '#bfa967',
    500: '#9f8724',
    950: '#000000',
  },
}
SCSS
$custom: #9f8724;
$custom-light: #bfa967;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8724",
  "rgb": {
    "r": 159,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 48.293,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62809,
    "c": 0.1164,
    "h": 94.7
  },
  "luminance": 0.24826
}

Semantic roles & 50–950 ramp

primary
#9F8724
secondary
#5E71C1
accent
#62E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8724

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

Preview Lab → · Contrast checker → · Palette generator →

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