#9F8615#9F8615

#9F8615 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.123 H 95.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9F8615
RGBrgb(159, 134, 21)
HSLhsl(49, 77%, 35%)
HSVhsv(49, 87%, 62%)
CMYKcmyk(0%, 15.7%, 86.8%, 37.6%)
CIE-LABlab(56.56, -1.37, 57.40)
CIE-LCHlch(56.56, 57.42, 91.37°)
OKLaboklab(62.51% -0.0108 0.1224)
OKLCHoklch(62.51% 0.123 95.1)
XYZxyz(22.9599, 24.4766, 4.2245)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8615 #152E9F
analogous
#9F4115 #9F8615 #739F15
triadic
#9F8615 #159F86 #86159F
tetradic
#9F8615 #159F41 #152E9F #9F1573
square
#9F8615 #159F41 #152E9F #9F1573
split-complementary
#9F8615 #15739F #41159F
monochromatic
#332B07 #69580E #9F8615 #D5B41C #E7CA48

Accessibility & contrast

On white

3.56
#9F8615 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9F8615 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8615
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8615#FFFFFF#000000##000000
##9F86151.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9C8B1F
Tritanopia (blue-blind)
#AD7A72
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f8615;
/* rgb */ color: rgb(159, 134, 21);
/* oklch */ color: oklch(62.5% 0.123 95.1);
Tailwind
colors: {
  custom: {
    50: '#c0a860',
    500: '#9f8615',
    950: '#000000',
  },
}
SCSS
$custom: #9f8615;
$custom-light: #c0a860;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8615",
  "rgb": {
    "r": 159,
    "g": 134,
    "b": 21
  },
  "hsl": {
    "h": 49.13,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62513,
    "c": 0.1229,
    "h": 95.1
  },
  "luminance": 0.24475
}

Semantic roles & 50–950 ramp

primary
#9F8615
secondary
#485FC8
accent
#57F335
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9F8615

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

Preview Lab → · Contrast checker → · Palette generator →

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