#9F8515#9F8515

#9F8515 is a light, vivid yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.122 H 94.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9F8515
RGBrgb(159, 133, 21)
HSLhsl(49, 77%, 35%)
HSVhsv(49, 87%, 62%)
CMYKcmyk(0%, 16.4%, 86.8%, 37.6%)
CIE-LABlab(56.29, -0.82, 57.17)
CIE-LCHlch(56.29, 57.18, 90.82°)
OKLaboklab(62.3% -0.0093 0.1219)
OKLCHoklch(62.3% 0.122 94.3)
XYZxyz(22.8223, 24.2015, 4.1786)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8515 #152F9F
analogous
#9F4015 #9F8515 #749F15
triadic
#9F8515 #159F85 #85159F
tetradic
#9F8515 #159F40 #152F9F #9F1574
square
#9F8515 #159F40 #152F9F #9F1574
split-complementary
#9F8515 #15749F #40159F
monochromatic
#332B07 #69580E #9F8515 #D5B21C #E7C948

Accessibility & contrast

On white

3.60
#9F8515 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9F8515 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8515
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8515#FFFFFF#000000##000000
##9F85151.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#9B8A1E
Tritanopia (blue-blind)
#AD7971
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f8515;
/* rgb */ color: rgb(159, 133, 21);
/* oklch */ color: oklch(62.3% 0.122 94.3);
Tailwind
colors: {
  custom: {
    50: '#c0a860',
    500: '#9f8515',
    950: '#000000',
  },
}
SCSS
$custom: #9f8515;
$custom-light: #c0a860;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8515",
  "rgb": {
    "r": 159,
    "g": 133,
    "b": 21
  },
  "hsl": {
    "h": 48.696,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62297,
    "c": 0.12227,
    "h": 94.3
  },
  "luminance": 0.242
}

Semantic roles & 50–950 ramp

primary
#9F8515
secondary
#4860C8
accent
#58F335
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9F8515

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

Preview Lab → · Contrast checker → · Palette generator →

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