#9F8719#9F8719

#9F8719 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.122 H 95.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9F8719
RGBrgb(159, 135, 25)
HSLhsl(49, 73%, 36%)
HSVhsv(49, 84%, 62%)
CMYKcmyk(0%, 15.1%, 84.3%, 37.6%)
CIE-LABlab(56.85, -1.81, 56.55)
CIE-LCHlch(56.85, 56.58, 91.83°)
OKLaboklab(62.75% -0.0117 0.1214)
OKLCHoklch(62.75% 0.122 95.5)
XYZxyz(23.1388, 24.7704, 4.4819)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8719 #19319F
analogous
#9F4419 #9F8719 #749F19
triadic
#9F8719 #199F87 #87199F
tetradic
#9F8719 #199F44 #19319F #9F1974
square
#9F8719 #199F44 #19319F #9F1974
split-complementary
#9F8719 #19749F #44199F
monochromatic
#352D08 #6A5A11 #9F8719 #D4B421 #E3C94F

Accessibility & contrast

On white

3.53
#9F8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9F8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8719
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8719#FFFFFF#000000##000000
##9F87191.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9C8C22
Tritanopia (blue-blind)
#AC7B73
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f8719;
/* rgb */ color: rgb(159, 135, 25);
/* oklch */ color: oklch(62.7% 0.122 95.5);
Tailwind
colors: {
  custom: {
    50: '#c0a962',
    500: '#9f8719',
    950: '#000000',
  },
}
SCSS
$custom: #9f8719;
$custom-light: #c0a962;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8719",
  "rgb": {
    "r": 159,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 49.254,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62747,
    "c": 0.12195,
    "h": 95.5
  },
  "luminance": 0.24769
}

Semantic roles & 50–950 ramp

primary
#9F8719
secondary
#4E64C6
accent
#59F038
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8719

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

Preview Lab → · Contrast checker → · Palette generator →

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