#9F9426#9F9426

#9F9426 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.7% C 0.125 H 103.4°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9F9426
RGBrgb(159, 148, 38)
HSLhsl(55, 61%, 39%)
HSVhsv(55, 76%, 62%)
CMYKcmyk(0%, 6.9%, 76.1%, 37.6%)
CIE-LABlab(60.51, -8.40, 55.63)
CIE-LCHlch(60.51, 56.26, 98.59°)
OKLaboklab(65.67% -0.0292 0.1221)
OKLCHoklch(65.67% 0.125 103.4)
XYZxyz(25.2390, 28.6917, 6.0420)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9426 #26319F
analogous
#9F5726 #9F9426 #6D9F26
triadic
#9F9426 #269F94 #94269F
tetradic
#9F9426 #269F57 #26319F #9F266D
square
#9F9426 #269F57 #26319F #9F266D
split-complementary
#9F9426 #266D9F #57269F
monochromatic
#3C380E #6E661A #9F9426 #CEC034 #DAD065

Accessibility & contrast

On white

3.12
#9F9426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9F9426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9426
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9426#FFFFFF#000000##000000
##9F94261.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0F
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#AB897F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f9426;
/* rgb */ color: rgb(159, 148, 38);
/* oklch */ color: oklch(65.7% 0.125 103.4);
Tailwind
colors: {
  custom: {
    50: '#bfb369',
    500: '#9f9426',
    950: '#000000',
  },
}
SCSS
$custom: #9f9426;
$custom-light: #bfb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9426",
  "rgb": {
    "r": 159,
    "g": 148,
    "b": 38
  },
  "hsl": {
    "h": 54.545,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65669,
    "c": 0.12549,
    "h": 103.4
  },
  "luminance": 0.28691
}

Semantic roles & 50–950 ramp

primary
#9F9426
secondary
#6169C0
accent
#52E543
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9426

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

Preview Lab → · Contrast checker → · Palette generator →

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