#9F9726#9F9726

#9F9726 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.128 H 105.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F9726
RGBrgb(159, 151, 38)
HSLhsl(56, 61%, 39%)
HSVhsv(56, 76%, 62%)
CMYKcmyk(0%, 5%, 76.1%, 37.6%)
CIE-LABlab(61.35, -10.00, 56.41)
CIE-LCHlch(61.35, 57.29, 100.06°)
OKLaboklab(66.34% -0.0337 0.1237)
OKLCHoklch(66.34% 0.128 105.2)
XYZxyz(25.7156, 29.6451, 6.2008)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9726 #262E9F
analogous
#9F5A26 #9F9726 #6A9F26
triadic
#9F9726 #269F97 #97269F
tetradic
#9F9726 #269F5A #262E9F #9F266A
square
#9F9726 #269F5A #262E9F #9F266A
split-complementary
#9F9726 #266A9F #5A269F
monochromatic
#3C390E #6E681A #9F9726 #CEC434 #DAD265

Accessibility & contrast

On white

3.03
#9F9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#9F9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9726
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9726#FFFFFF#000000##000000
##9F97261.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910D
Deuteranopia (green-blind)
#A8962F
Tritanopia (blue-blind)
#AB8C82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9f9726;
/* rgb */ color: rgb(159, 151, 38);
/* oklch */ color: oklch(66.3% 0.128 105.2);
Tailwind
colors: {
  custom: {
    50: '#bfb56a',
    500: '#9f9726',
    950: '#000000',
  },
}
SCSS
$custom: #9f9726;
$custom-light: #bfb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9726",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 56.033,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66336,
    "c": 0.12822,
    "h": 105.2
  },
  "luminance": 0.29644
}

Semantic roles & 50–950 ramp

primary
#9F9726
secondary
#6167C0
accent
#4EE543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9726

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

Preview Lab → · Contrast checker → · Palette generator →

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