#9F8519#9F8519

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

Color values

HEX#9F8519
RGBrgb(159, 133, 25)
HSLhsl(48, 73%, 36%)
HSVhsv(48, 84%, 62%)
CMYKcmyk(0%, 16.4%, 84.3%, 37.6%)
CIE-LABlab(56.30, -0.70, 56.08)
CIE-LCHlch(56.30, 56.09, 90.72°)
OKLaboklab(62.32% -0.0086 0.1204)
OKLCHoklch(62.32% 0.121 94.1)
XYZxyz(22.8624, 24.2176, 4.3898)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8519 #19339F
analogous
#9F4219 #9F8519 #769F19
triadic
#9F8519 #199F85 #85199F
tetradic
#9F8519 #199F42 #19339F #9F1976
square
#9F8519 #199F42 #19339F #9F1976
split-complementary
#9F8519 #19769F #42199F
monochromatic
#352D08 #6A5911 #9F8519 #D4B121 #E3C74F

Accessibility & contrast

On white

3.59
#9F8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F8519#FFFFFF#000000##000000
##9F85191.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f8519;
/* rgb */ color: rgb(159, 133, 25);
/* oklch */ color: oklch(62.3% 0.121 94.1);
Tailwind
colors: {
  custom: {
    50: '#c0a862',
    500: '#9f8519',
    950: '#000000',
  },
}
SCSS
$custom: #9f8519;
$custom-light: #c0a862;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8519",
  "rgb": {
    "r": 159,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 48.358,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62315,
    "c": 0.12067,
    "h": 94.1
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#9F8519
secondary
#4E65C6
accent
#5CF038
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8519

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

Preview Lab → · Contrast checker → · Palette generator →

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