#9F9626#9F9626

#9F9626 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.86:1 contrast (WCAG AA passes).

Color values

HEX#9F9626
RGBrgb(159, 150, 38)
HSLhsl(56, 61%, 39%)
HSVhsv(56, 76%, 62%)
CMYKcmyk(0%, 5.7%, 76.1%, 37.6%)
CIE-LABlab(61.07, -9.47, 56.15)
CIE-LCHlch(61.07, 56.94, 99.57°)
OKLaboklab(66.11% -0.0322 0.1232)
OKLCHoklch(66.11% 0.127 104.6)
XYZxyz(25.5554, 29.3246, 6.1474)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9626 #262F9F
analogous
#9F5926 #9F9626 #6B9F26
triadic
#9F9626 #269F96 #96269F
tetradic
#9F9626 #269F59 #262F9F #9F266B
square
#9F9626 #269F59 #262F9F #9F266B
split-complementary
#9F9626 #266B9F #59269F
monochromatic
#3C390E #6E671A #9F9626 #CEC334 #DAD265

Accessibility & contrast

On white

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

On black

6.86
#9F9626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9626
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9626#FFFFFF#000000##000000
##9F96261.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9626;
/* rgb */ color: rgb(159, 150, 38);
/* oklch */ color: oklch(66.1% 0.127 104.6);
Tailwind
colors: {
  custom: {
    50: '#bfb469',
    500: '#9f9626',
    950: '#000000',
  },
}
SCSS
$custom: #9f9626;
$custom-light: #bfb469;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9626",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 55.537,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66113,
    "c": 0.12729,
    "h": 104.6
  },
  "luminance": 0.29324
}

Semantic roles & 50–950 ramp

primary
#9F9626
secondary
#6168C0
accent
#4FE543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9626

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

Preview Lab → · Contrast checker → · Palette generator →

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