#9F9627#9F9627

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

Color values

HEX#9F9627
RGBrgb(159, 150, 39)
HSLhsl(56, 61%, 39%)
HSVhsv(56, 75%, 62%)
CMYKcmyk(0%, 5.7%, 75.5%, 37.6%)
CIE-LABlab(61.07, -9.43, 55.80)
CIE-LCHlch(61.07, 56.59, 99.59°)
OKLaboklab(66.12% -0.0319 0.1226)
OKLCHoklch(66.12% 0.127 104.6)
XYZxyz(25.5717, 29.3311, 6.2335)
Luminance0.2933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9627 #27309F
analogous
#9F5A27 #9F9627 #6C9F27
triadic
#9F9627 #279F96 #96279F
tetradic
#9F9627 #279F5A #27309F #9F276C
square
#9F9627 #279F5A #27309F #9F276C
split-complementary
#9F9627 #276C9F #5A279F
monochromatic
#3D390F #6E681B #9F9627 #CEC236 #DAD167

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9627#FFFFFF#000000##000000
##9F96271.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)
#A49110
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#AB8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9627;
/* rgb */ color: rgb(159, 150, 39);
/* oklch */ color: oklch(66.1% 0.127 104.6);
Tailwind
colors: {
  custom: {
    50: '#bfb46a',
    500: '#9f9627',
    950: '#000000',
  },
}
SCSS
$custom: #9f9627;
$custom-light: #bfb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9627",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 55.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66119,
    "c": 0.12671,
    "h": 104.6
  },
  "luminance": 0.2933
}

Semantic roles & 50–950 ramp

primary
#9F9627
secondary
#6269C0
accent
#50E444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9627

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

Preview Lab → · Contrast checker → · Palette generator →

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