#9F9926#9F9926

#9F9926 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.130 H 106.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9F9926
RGBrgb(159, 153, 38)
HSLhsl(57, 61%, 39%)
HSVhsv(57, 76%, 62%)
CMYKcmyk(0%, 3.8%, 76.1%, 37.6%)
CIE-LABlab(61.91, -11.07, 56.93)
CIE-LCHlch(61.91, 58.00, 101.00°)
OKLaboklab(66.78% -0.0366 0.1248)
OKLCHoklch(66.78% 0.13 106.4)
XYZxyz(26.0402, 30.2943, 6.3091)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9926 #262C9F
analogous
#9F5C26 #9F9926 #689F26
triadic
#9F9926 #269F99 #99269F
tetradic
#9F9926 #269F5C #262C9F #9F2668
square
#9F9926 #269F5C #262C9F #9F2668
split-complementary
#9F9926 #26689F #5C269F
monochromatic
#3C3A0E #6E691A #9F9926 #CEC734 #DAD465

Accessibility & contrast

On white

2.98
#9F9926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#9F9926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9926
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9926#FFFFFF#000000##000000
##9F99261.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930C
Deuteranopia (green-blind)
#A9982F
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9f9926;
/* rgb */ color: rgb(159, 153, 38);
/* oklch */ color: oklch(66.8% 0.130 106.4);
Tailwind
colors: {
  custom: {
    50: '#bfb66a',
    500: '#9f9926',
    950: '#000000',
  },
}
SCSS
$custom: #9f9926;
$custom-light: #bfb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9926",
  "rgb": {
    "r": 159,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 57.025,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66782,
    "c": 0.1301,
    "h": 106.4
  },
  "luminance": 0.30293
}

Semantic roles & 50–950 ramp

primary
#9F9926
secondary
#6166C0
accent
#4BE543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9926

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

Preview Lab → · Contrast checker → · Palette generator →

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