#9F9628#9F9628

#9F9628 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.126 H 104.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F9628
RGBrgb(159, 150, 40)
HSLhsl(55, 60%, 39%)
HSVhsv(55, 75%, 62%)
CMYKcmyk(0%, 5.7%, 74.8%, 37.6%)
CIE-LABlab(61.08, -9.38, 55.45)
CIE-LCHlch(61.08, 56.24, 99.60°)
OKLaboklab(66.13% -0.0317 0.1221)
OKLCHoklch(66.13% 0.126 104.6)
XYZxyz(25.5885, 29.3378, 6.3220)
Luminance0.2934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9628 #28319F
analogous
#9F5B28 #9F9628 #6D9F28
triadic
#9F9628 #289F96 #96289F
tetradic
#9F9628 #289F5B #28319F #9F286D
square
#9F9628 #289F5B #28319F #9F286D
split-complementary
#9F9628 #286D9F #5B289F
monochromatic
#3D3A0F #6E681C #9F9628 #CDC137 #D9D168

Accessibility & contrast

On white

3.06
#9F9628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#9F9628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9628
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9628#FFFFFF#000000##000000
##9F96281.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49113
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#AB8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9628;
/* rgb */ color: rgb(159, 150, 40);
/* oklch */ color: oklch(66.1% 0.126 104.6);
Tailwind
colors: {
  custom: {
    50: '#bfb46a',
    500: '#9f9628',
    950: '#000000',
  },
}
SCSS
$custom: #9f9628;
$custom-light: #bfb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9628",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 55.462,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66126,
    "c": 0.12611,
    "h": 104.6
  },
  "luminance": 0.29337
}

Semantic roles & 50–950 ramp

primary
#9F9628
secondary
#646ABF
accent
#51E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9628

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

Preview Lab → · Contrast checker → · Palette generator →

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